#B966FF#B966FF

#B966FF is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.2% C 0.223 H 306.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B966FF
RGBrgb(185, 102, 255)
HSLhsl(273, 100%, 70%)
HSVhsv(273, 60%, 100%)
CMYKcmyk(27.5%, 60%, 0%, 0%)
CIE-LABlab(59.01, 59.94, -63.48)
CIE-LCHlch(59.01, 87.31, 313.36°)
OKLaboklab(67.24% 0.1318 -0.1794)
OKLCHoklch(67.24% 0.223 306.3)
XYZxyz(42.8051, 27.0374, 97.5521)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B966FF #ACFF66
analogous
#6C66FF #B966FF #FF66F9
triadic
#B966FF #FFB966 #66FFB9
tetradic
#B966FF #FF6C66 #ACFF66 #66F9FF
square
#B966FF #FF6C66 #ACFF66 #66F9FF
split-complementary
#B966FF #F9FF66 #66FF6C
monochromatic
#7F00EB #9D29FF #B966FF #D5A3FF #F1E0FF

Accessibility & contrast

On white

3.28
#B966FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B966FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B966FF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B966FF#FFFFFF#000000##000000
##B966FF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#188BFF
Deuteranopia (green-blind)
#488FFB
Tritanopia (blue-blind)
#AD85A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b966ff;
/* rgb */ color: rgb(185, 102, 255);
/* oklch */ color: oklch(67.2% 0.223 306.3);
Tailwind
colors: {
  custom: {
    50: '#d295ff',
    500: '#b966ff',
    950: '#000000',
  },
}
SCSS
$custom: #b966ff;
$custom-light: #d295ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b966ff",
  "rgb": {
    "r": 185,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 272.549,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.67237,
    "c": 0.22258,
    "h": 306.3
  },
  "luminance": 0.27037
}

Semantic roles & 50–950 ramp

primary
#B966FF
secondary
#DFF6CB
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #B966FF

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

Preview Lab → · Contrast checker → · Palette generator →

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