#B866F2#B866F2

#B866F2 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.208 H 308.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B866F2
RGBrgb(184, 102, 242)
HSLhsl(275, 84%, 67%)
HSVhsv(275, 58%, 95%)
CMYKcmyk(24%, 57.9%, 0%, 5.1%)
CIE-LABlab(58.14, 56.83, -57.69)
CIE-LCHlch(58.14, 80.98, 314.57°)
OKLaboklab(66.33% 0.1307 -0.1624)
OKLCHoklch(66.33% 0.208 308.8)
XYZxyz(40.5424, 26.1045, 86.8901)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866F2 #A0F266
analogous
#7266F2 #B866F2 #F266E6
triadic
#B866F2 #F2B866 #66F2B8
tetradic
#B866F2 #F27266 #A0F266 #66E6F2
square
#B866F2 #F27266 #A0F266 #66E6F2
split-complementary
#B866F2 #E6F266 #66F272
monochromatic
#7F11CC #9E2EED #B866F2 #D29EF7 #ECD7FC

Accessibility & contrast

On white

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

On black

6.22
#B866F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866F2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866F2#FFFFFF#000000##000000
##B866F21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#B080A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b866f2;
/* rgb */ color: rgb(184, 102, 242);
/* oklch */ color: oklch(66.3% 0.208 308.8);
Tailwind
colors: {
  custom: {
    50: '#d195f7',
    500: '#b866f2',
    950: '#000000',
  },
}
SCSS
$custom: #b866f2;
$custom-light: #d195f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b866f2",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 275.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66333,
    "c": 0.20845,
    "h": 308.8
  },
  "luminance": 0.26104
}

Semantic roles & 50–950 ramp

primary
#B866F2
secondary
#D6F0C4
accent
#E10560
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B866F2

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

Preview Lab → · Contrast checker → · Palette generator →

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