#B668E1#B668E1

#B668E1 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.187 H 312.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B668E1
RGBrgb(182, 104, 225)
HSLhsl(279, 67%, 65%)
HSVhsv(279, 54%, 88%)
CMYKcmyk(19.1%, 53.8%, 0%, 11.8%)
CIE-LABlab(57.35, 51.63, -49.46)
CIE-LCHlch(57.35, 71.50, 316.23°)
OKLaboklab(65.4% 0.125 -0.1384)
OKLCHoklch(65.4% 0.187 312.1)
XYZxyz(37.8299, 25.2828, 74.1068)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668E1 #93E168
analogous
#7A68E1 #B668E1 #E168CF
triadic
#B668E1 #E1B668 #68E1B6
tetradic
#B668E1 #E17A68 #93E168 #68CFE1
square
#B668E1 #E17A68 #93E168 #68CFE1
split-complementary
#B668E1 #CFE168 #68E17A
monochromatic
#7B22AC #9D35D7 #B668E1 #CF9BEB #E7CEF5

Accessibility & contrast

On white

3.47
#B668E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B668E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668E1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668E1#FFFFFF#000000##000000
##B668E11.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E5
Deuteranopia (green-blind)
#618BDE
Tritanopia (blue-blind)
#B17C9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b668e1;
/* rgb */ color: rgb(182, 104, 225);
/* oklch */ color: oklch(65.4% 0.187 312.1);
Tailwind
colors: {
  custom: {
    50: '#ce96eb',
    500: '#b668e1',
    950: '#000000',
  },
}
SCSS
$custom: #b668e1;
$custom-light: #ce96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b668e1",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 278.678,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65404,
    "c": 0.18653,
    "h": 312.1
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#B668E1
secondary
#CCE7BE
accent
#CF1758
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B668E1

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

Preview Lab → · Contrast checker → · Palette generator →

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