#B66BF2#B66BF2

#B66BF2 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.8% C 0.201 H 307.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B66BF2
RGBrgb(182, 107, 242)
HSLhsl(273, 84%, 68%)
HSVhsv(273, 56%, 95%)
CMYKcmyk(24.8%, 55.8%, 0%, 5.1%)
CIE-LABlab(58.86, 53.82, -56.55)
CIE-LCHlch(58.86, 78.07, 313.58°)
OKLaboklab(66.81% 0.122 -0.1592)
OKLCHoklch(66.81% 0.201 307.5)
XYZxyz(40.5728, 26.8718, 87.0366)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BF2 #A7F26B
analogous
#726BF2 #B66BF2 #F26BEB
triadic
#B66BF2 #F2B66B #6BF2B6
tetradic
#B66BF2 #F2726B #A7F26B #6BEBF2
square
#B66BF2 #F2726B #A7F26B #6BEBF2
split-complementary
#B66BF2 #EBF26B #6BF272
monochromatic
#7C12D0 #9A33ED #B66BF2 #D2A3F7 #EDDCFC

Accessibility & contrast

On white

3.29
#B66BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B66BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66BF2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66BF2#FFFFFF#000000##000000
##B66BF21.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#AD84A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b66bf2;
/* rgb */ color: rgb(182, 107, 242);
/* oklch */ color: oklch(66.8% 0.201 307.5);
Tailwind
colors: {
  custom: {
    50: '#cf98f7',
    500: '#b66bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b66bf2;
$custom-light: #cf98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b66bf2",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 273.333,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66809,
    "c": 0.20056,
    "h": 307.5
  },
  "luminance": 0.26871
}

Semantic roles & 50–950 ramp

primary
#B66BF2
secondary
#DAF1C8
accent
#E00567
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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