#B966EB#B966EB

#B966EB is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.201 H 310.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B966EB
RGBrgb(185, 102, 235)
HSLhsl(277, 77%, 66%)
HSVhsv(277, 57%, 92%)
CMYKcmyk(21.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(57.86, 55.55, -54.22)
CIE-LCHlch(57.86, 77.62, 315.69°)
OKLaboklab(66.03% 0.1318 -0.1522)
OKLCHoklch(66.03% 0.201 310.9)
XYZxyz(39.7516, 25.8160, 81.4701)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B966EB #98EB66
analogous
#7666EB #B966EB #EB66DA
triadic
#B966EB #EBB966 #66EBB9
tetradic
#B966EB #EB7666 #98EB66 #66DAEB
square
#B966EB #EB7666 #98EB66 #66DAEB
split-complementary
#B966EB #DAEB66 #66EB76
monochromatic
#8019BE #A030E4 #B966EB #D29CF2 #EBD2F9

Accessibility & contrast

On white

3.41
#B966EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B966EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B966EB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B966EB#FFFFFF#000000##000000
##B966EB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#B37E9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b966eb;
/* rgb */ color: rgb(185, 102, 235);
/* oklch */ color: oklch(66.0% 0.201 310.9);
Tailwind
colors: {
  custom: {
    50: '#d195f2',
    500: '#b966eb',
    950: '#000000',
  },
}
SCSS
$custom: #b966eb;
$custom-light: #d195f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b966eb",
  "rgb": {
    "r": 185,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 277.444,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.20133,
    "h": 310.9
  },
  "luminance": 0.25815
}

Semantic roles & 50–950 ramp

primary
#B966EB
secondary
#D1ECC1
accent
#D90C59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B966EB

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

Preview Lab → · Contrast checker → · Palette generator →

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