#B66DEB#B66DEB

#B66DEB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.190 H 308.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B66DEB
RGBrgb(182, 109, 235)
HSLhsl(275, 76%, 67%)
HSVhsv(275, 54%, 92%)
CMYKcmyk(22.6%, 53.6%, 0%, 7.8%)
CIE-LABlab(58.86, 51.23, -52.65)
CIE-LCHlch(58.86, 73.46, 314.22°)
OKLaboklab(66.69% 0.1192 -0.1477)
OKLCHoklch(66.69% 0.19 308.9)
XYZxyz(39.7525, 26.8811, 81.6756)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66DEB #A2EB6D
analogous
#776DEB #B66DEB #EB6DE1
triadic
#B66DEB #EBB66D #6DEBB6
tetradic
#B66DEB #EB776D #A2EB6D #6DE1EB
square
#B66DEB #EB776D #A2EB6D #6DE1EB
split-complementary
#B66DEB #E1EB6D #6DEB77
monochromatic
#7C1BC3 #9B37E4 #B66DEB #D1A3F2 #ECD9FA

Accessibility & contrast

On white

3.29
#B66DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B66DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66DEB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66DEB#FFFFFF#000000##000000
##B66DEB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#AF83A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b66deb;
/* rgb */ color: rgb(182, 109, 235);
/* oklch */ color: oklch(66.7% 0.190 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf99f2',
    500: '#b66deb',
    950: '#000000',
  },
}
SCSS
$custom: #b66deb;
$custom-light: #cf99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b66deb",
  "rgb": {
    "r": 182,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 274.762,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.18982,
    "h": 308.9
  },
  "luminance": 0.26881
}

Semantic roles & 50–950 ramp

primary
#B66DEB
secondary
#D7EEC6
accent
#D80D63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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