#B268EF#B268EF

#B268EF is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.8% C 0.201 H 307.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B268EF
RGBrgb(178, 104, 239)
HSLhsl(273, 81%, 67%)
HSVhsv(273, 56%, 94%)
CMYKcmyk(25.5%, 56.5%, 0%, 6.3%)
CIE-LABlab(57.65, 53.72, -56.83)
CIE-LCHlch(57.65, 78.20, 313.39°)
OKLaboklab(65.77% 0.1208 -0.1601)
OKLCHoklch(65.77% 0.201 307)
XYZxyz(38.8872, 25.5980, 84.5369)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268EF #A5EF68
analogous
#6F68EF #B268EF #EF68E8
triadic
#B268EF #EFB268 #68EFB2
tetradic
#B268EF #EF6F68 #A5EF68 #68E8EF
square
#B268EF #EF6F68 #A5EF68 #68E8EF
split-complementary
#B268EF #E8EF68 #68EF6F
monochromatic
#7715C7 #9631E9 #B268EF #CE9FF5 #EAD7FB

Accessibility & contrast

On white

3.43
#B268EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B268EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268EF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268EF#FFFFFF#000000##000000
##B268EF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#A881A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b268ef;
/* rgb */ color: rgb(178, 104, 239);
/* oklch */ color: oklch(65.8% 0.201 307.0);
Tailwind
colors: {
  custom: {
    50: '#cc96f5',
    500: '#b268ef',
    950: '#000000',
  },
}
SCSS
$custom: #b268ef;
$custom-light: #cc96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b268ef",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 272.889,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.20051,
    "h": 307
  },
  "luminance": 0.25598
}

Semantic roles & 50–950 ramp

primary
#B268EF
secondary
#D7EFC4
accent
#DD0869
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268EF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B268EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva