#B66CEB#B66CEB

#B66CEB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.191 H 309.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B66CEB
RGBrgb(182, 108, 235)
HSLhsl(275, 76%, 67%)
HSVhsv(275, 54%, 92%)
CMYKcmyk(22.6%, 54%, 0%, 7.8%)
CIE-LABlab(58.67, 51.75, -52.96)
CIE-LCHlch(58.67, 74.04, 314.34°)
OKLaboklab(66.55% 0.1205 -0.1486)
OKLCHoklch(66.55% 0.191 309)
XYZxyz(39.6464, 26.6690, 81.6402)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66CEB #A1EB6C
analogous
#776CEB #B66CEB #EB6CE0
triadic
#B66CEB #EBB66C #6CEBB6
tetradic
#B66CEB #EB776C #A1EB6C #6CE0EB
square
#B66CEB #EB776C #A1EB6C #6CE0EB
split-complementary
#B66CEB #E0EB6C #6CEB77
monochromatic
#7C1AC2 #9B36E4 #B66CEB #D1A2F2 #ECD8FA

Accessibility & contrast

On white

3.32
#B66CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B66CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66CEB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66CEB#FFFFFF#000000##000000
##B66CEB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#AF83A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66ceb;
/* rgb */ color: rgb(182, 108, 235);
/* oklch */ color: oklch(66.5% 0.191 309.0);
Tailwind
colors: {
  custom: {
    50: '#cf99f2',
    500: '#b66ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b66ceb;
$custom-light: #cf99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b66ceb",
  "rgb": {
    "r": 182,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 274.961,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.19134,
    "h": 309
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

primary
#B66CEB
secondary
#D6EDC5
accent
#D80D62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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