#B866FB#B866FB

#B866FB is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.9% C 0.218 H 306.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B866FB
RGBrgb(184, 102, 251)
HSLhsl(273, 95%, 69%)
HSVhsv(273, 59%, 98%)
CMYKcmyk(26.7%, 59.4%, 0%, 1.6%)
CIE-LABlab(58.66, 58.82, -61.84)
CIE-LCHlch(58.66, 85.35, 313.57°)
OKLaboklab(66.88% 0.1306 -0.1746)
OKLCHoklch(66.88% 0.218 306.8)
XYZxyz(41.9275, 26.6586, 94.1849)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866FB #A9FB66
analogous
#6E66FB #B866FB #FB66F4
triadic
#B866FB #FBB866 #66FBB8
tetradic
#B866FB #FB6E66 #A9FB66 #66F4FB
square
#B866FB #FB6E66 #A9FB66 #66F4FB
split-complementary
#B866FB #F4FB66 #66FB6E
monochromatic
#7E06E1 #9C2AF9 #B866FB #D4A2FD #EFDDFE

Accessibility & contrast

On white

3.32
#B866FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B866FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866FB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866FB#FFFFFF#000000##000000
##B866FB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#AD83A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b866fb;
/* rgb */ color: rgb(184, 102, 251);
/* oklch */ color: oklch(66.9% 0.218 306.8);
Tailwind
colors: {
  custom: {
    50: '#d195fd',
    500: '#b866fb',
    950: '#000000',
  },
}
SCSS
$custom: #b866fb;
$custom-light: #d195fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b866fb",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 273.02,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6688,
    "c": 0.21805,
    "h": 306.8
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

primary
#B866FB
secondary
#DCF4C9
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B866FB

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

Preview Lab → · Contrast checker → · Palette generator →

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