#B966EA#B966EA

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

Color values

HEX#B966EA
RGBrgb(185, 102, 234)
HSLhsl(278, 76%, 66%)
HSVhsv(278, 56%, 92%)
CMYKcmyk(20.9%, 56.4%, 0%, 8.2%)
CIE-LABlab(57.81, 55.33, -53.75)
CIE-LCHlch(57.81, 77.14, 315.83°)
OKLaboklab(65.97% 0.1317 -0.1509)
OKLCHoklch(65.97% 0.2 311.1)
XYZxyz(39.6075, 25.7584, 80.7113)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B966EA #97EA66
analogous
#7766EA #B966EA #EA66D9
triadic
#B966EA #EAB966 #66EAB9
tetradic
#B966EA #EA7766 #97EA66 #66D9EA
square
#B966EA #EA7766 #97EA66 #66D9EA
split-complementary
#B966EA #D9EA66 #66EA77
monochromatic
#801ABC #A030E3 #B966EA #D29CF1 #EAD2F9

Accessibility & contrast

On white

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

On black

6.15
#B966EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B966EA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B966EA#FFFFFF#000000##000000
##B966EA1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#5B8CE7
Tritanopia (blue-blind)
#B37E9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b966ea;
/* rgb */ color: rgb(185, 102, 234);
/* oklch */ color: oklch(66.0% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#d195f1',
    500: '#b966ea',
    950: '#000000',
  },
}
SCSS
$custom: #b966ea;
$custom-light: #d195f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b966ea",
  "rgb": {
    "r": 185,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 277.727,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65974,
    "c": 0.20027,
    "h": 311.1
  },
  "luminance": 0.25758
}

Semantic roles & 50–950 ramp

primary
#B966EA
secondary
#D0ECC0
accent
#D80D59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B966EA

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

Preview Lab → · Contrast checker → · Palette generator →

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