#B668E2#B668E2

#B668E2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.188 H 311.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B668E2
RGBrgb(182, 104, 226)
HSLhsl(278, 68%, 65%)
HSVhsv(278, 54%, 89%)
CMYKcmyk(19.5%, 54%, 0%, 11.4%)
CIE-LABlab(57.40, 51.84, -49.94)
CIE-LCHlch(57.40, 71.98, 316.07°)
OKLaboklab(65.46% 0.1251 -0.1398)
OKLCHoklch(65.46% 0.188 311.8)
XYZxyz(37.9667, 25.3375, 74.8274)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668E2 #94E268
analogous
#7968E2 #B668E2 #E268D1
triadic
#B668E2 #E2B668 #68E2B6
tetradic
#B668E2 #E27968 #94E268 #68D1E2
square
#B668E2 #E27968 #94E268 #68D1E2
split-complementary
#B668E2 #D1E268 #68E279
monochromatic
#7B21AE #9D35D8 #B668E2 #CF9BEC #E8CFF6

Accessibility & contrast

On white

3.46
#B668E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B668E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668E2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668E2#FFFFFF#000000##000000
##B668E21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#608BDF
Tritanopia (blue-blind)
#B17D9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b668e2;
/* rgb */ color: rgb(182, 104, 226);
/* oklch */ color: oklch(65.5% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#cf96eb',
    500: '#b668e2',
    950: '#000000',
  },
}
SCSS
$custom: #b668e2;
$custom-light: #cf96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b668e2",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 278.361,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6546,
    "c": 0.18761,
    "h": 311.8
  },
  "luminance": 0.25337
}

Semantic roles & 50–950 ramp

primary
#B668E2
secondary
#CDE8BE
accent
#D01659
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B668E2

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

Preview Lab → · Contrast checker → · Palette generator →

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