#B668EB#B668EB

#B668EB is a light, vivid violet. Relative luminance 0.258; OKLCH L 66.0% C 0.197 H 309.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B668EB
RGBrgb(182, 104, 235)
HSLhsl(276, 77%, 66%)
HSVhsv(276, 56%, 92%)
CMYKcmyk(22.6%, 55.7%, 0%, 7.8%)
CIE-LABlab(57.89, 53.80, -54.20)
CIE-LCHlch(57.89, 76.37, 314.79°)
OKLaboklab(65.97% 0.1256 -0.1523)
OKLCHoklch(65.97% 0.197 309.5)
XYZxyz(39.2342, 25.8445, 81.5028)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668EB #9DEB68
analogous
#7568EB #B668EB #EB68DF
triadic
#B668EB #EBB668 #68EBB6
tetradic
#B668EB #EB7568 #9DEB68 #68DFEB
square
#B668EB #EB7568 #9DEB68 #68DFEB
split-complementary
#B668EB #DFEB68 #68EB75
monochromatic
#7C19BF #9C32E4 #B668EB #D09EF2 #EAD4F9

Accessibility & contrast

On white

3.40
#B668EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B668EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668EB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668EB#FFFFFF#000000##000000
##B668EB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#5A8CE8
Tritanopia (blue-blind)
#AF80A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b668eb;
/* rgb */ color: rgb(182, 104, 235);
/* oklch */ color: oklch(66.0% 0.197 309.5);
Tailwind
colors: {
  custom: {
    50: '#cf96f2',
    500: '#b668eb',
    950: '#000000',
  },
}
SCSS
$custom: #b668eb;
$custom-light: #cf96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b668eb",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 275.725,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65975,
    "c": 0.19736,
    "h": 309.5
  },
  "luminance": 0.25844
}

Semantic roles & 50–950 ramp

primary
#B668EB
secondary
#D3EDC2
accent
#D90D5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B668EB

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

Preview Lab → · Contrast checker → · Palette generator →

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