#B866F9#B866F9

#B866F9 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.8% C 0.216 H 307.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B866F9
RGBrgb(184, 102, 249)
HSLhsl(273, 92%, 69%)
HSVhsv(273, 59%, 98%)
CMYKcmyk(26.1%, 59%, 0%, 2.4%)
CIE-LABlab(58.54, 58.38, -60.93)
CIE-LCHlch(58.54, 84.38, 313.78°)
OKLaboklab(66.76% 0.1307 -0.1719)
OKLCHoklch(66.76% 0.216 307.2)
XYZxyz(41.6139, 26.5331, 92.5333)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866F9 #A7F966
analogous
#6F66F9 #B866F9 #F966F1
triadic
#B866F9 #F9B866 #66F9B8
tetradic
#B866F9 #F96F66 #A7F966 #66F1F9
square
#B866F9 #F96F66 #A7F966 #66F1F9
split-complementary
#B866F9 #F1F966 #66F96F
monochromatic
#7F09DC #9D2BF7 #B866F9 #D3A1FB #EFDCFE

Accessibility & contrast

On white

3.33
#B866F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B866F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866F9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866F9#FFFFFF#000000##000000
##B866F91.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFE
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#AE83A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b866f9;
/* rgb */ color: rgb(184, 102, 249);
/* oklch */ color: oklch(66.8% 0.216 307.2);
Tailwind
colors: {
  custom: {
    50: '#d195fc',
    500: '#b866f9',
    950: '#000000',
  },
}
SCSS
$custom: #b866f9;
$custom-light: #d195fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b866f9",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 273.469,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.21592,
    "h": 307.2
  },
  "luminance": 0.26533
}

Semantic roles & 50–950 ramp

primary
#B866F9
secondary
#DBF3C8
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B866F9

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

Preview Lab → · Contrast checker → · Palette generator →

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