#B966EF#B966EF

#B966EF is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.206 H 309.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B966EF
RGBrgb(185, 102, 239)
HSLhsl(276, 81%, 67%)
HSVhsv(276, 57%, 94%)
CMYKcmyk(22.6%, 57.3%, 0%, 6.3%)
CIE-LABlab(58.08, 56.41, -56.10)
CIE-LCHlch(58.08, 79.56, 315.16°)
OKLaboklab(66.27% 0.1319 -0.1577)
OKLCHoklch(66.27% 0.206 309.9)
XYZxyz(40.3360, 26.0498, 84.5479)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B966EF #9CEF66
analogous
#7566EF #B966EF #EF66E1
triadic
#B966EF #EFB966 #66EFB9
tetradic
#B966EF #EF7566 #9CEF66 #66E1EF
square
#B966EF #EF7566 #9CEF66 #66E1EF
split-complementary
#B966EF #E1EF66 #66EF75
monochromatic
#8015C6 #A02FE9 #B966EF #D29DF5 #ECD5FB

Accessibility & contrast

On white

3.38
#B966EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B966EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B966EF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B966EF#FFFFFF#000000##000000
##B966EF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#B27FA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b966ef;
/* rgb */ color: rgb(185, 102, 239);
/* oklch */ color: oklch(66.3% 0.206 309.9);
Tailwind
colors: {
  custom: {
    50: '#d195f5',
    500: '#b966ef',
    950: '#000000',
  },
}
SCSS
$custom: #b966ef;
$custom-light: #d195f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b966ef",
  "rgb": {
    "r": 185,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 276.35,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.20557,
    "h": 309.9
  },
  "luminance": 0.26049
}

Semantic roles & 50–950 ramp

primary
#B966EF
secondary
#D4EEC2
accent
#DD085C
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B966EF

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

Preview Lab → · Contrast checker → · Palette generator →

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