#B668EA#B668EA

#B668EA is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.9% C 0.196 H 309.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B668EA
RGBrgb(182, 104, 234)
HSLhsl(276, 76%, 66%)
HSVhsv(276, 56%, 92%)
CMYKcmyk(22.2%, 55.6%, 0%, 8.2%)
CIE-LABlab(57.83, 53.58, -53.73)
CIE-LCHlch(57.83, 75.88, 314.92°)
OKLaboklab(65.92% 0.1255 -0.1509)
OKLCHoklch(65.92% 0.196 309.8)
XYZxyz(39.0902, 25.7869, 80.7441)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668EA #9CEA68
analogous
#7568EA #B668EA #EA68DD
triadic
#B668EA #EAB668 #68EAB6
tetradic
#B668EA #EA7568 #9CEA68 #68DDEA
square
#B668EA #EA7568 #9CEA68 #68DDEA
split-complementary
#B668EA #DDEA68 #68EA75
monochromatic
#7C1ABD #9C32E3 #B668EA #D09EF1 #EAD3F9

Accessibility & contrast

On white

3.41
#B668EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B668EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668EA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668EA#FFFFFF#000000##000000
##B668EA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#AF7F9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b668ea;
/* rgb */ color: rgb(182, 104, 234);
/* oklch */ color: oklch(65.9% 0.196 309.8);
Tailwind
colors: {
  custom: {
    50: '#cf96f1',
    500: '#b668ea',
    950: '#000000',
  },
}
SCSS
$custom: #b668ea;
$custom-light: #cf96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b668ea",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 276,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65917,
    "c": 0.19627,
    "h": 309.8
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

primary
#B668EA
secondary
#D3ECC2
accent
#D80E5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B668EA

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

Preview Lab → · Contrast checker → · Palette generator →

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