#B66AF2#B66AF2

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

Color values

HEX#B66AF2
RGBrgb(182, 106, 242)
HSLhsl(274, 84%, 68%)
HSVhsv(274, 56%, 95%)
CMYKcmyk(24.8%, 56.2%, 0%, 5.1%)
CIE-LABlab(58.66, 54.33, -56.86)
CIE-LCHlch(58.66, 78.65, 313.70°)
OKLaboklab(66.67% 0.1233 -0.1601)
OKLCHoklch(66.67% 0.202 307.6)
XYZxyz(40.4692, 26.6645, 87.0020)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66AF2 #A6F26A
analogous
#726AF2 #B66AF2 #F26AEA
triadic
#B66AF2 #F2B66A #6AF2B6
tetradic
#B66AF2 #F2726A #A6F26A #6AEAF2
square
#B66AF2 #F2726A #A6F26A #6AEAF2
split-complementary
#B66AF2 #EAF26A #6AF272
monochromatic
#7C12CF #9A32ED #B66AF2 #D2A2F7 #EDDBFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B66AF2#FFFFFF#000000##000000
##B66AF21.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)
#398AF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#AD83A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66af2;
/* rgb */ color: rgb(182, 106, 242);
/* oklch */ color: oklch(66.7% 0.202 307.6);
Tailwind
colors: {
  custom: {
    50: '#cf97f7',
    500: '#b66af2',
    950: '#000000',
  },
}
SCSS
$custom: #b66af2;
$custom-light: #cf97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b66af2",
  "rgb": {
    "r": 182,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 273.529,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.20203,
    "h": 307.6
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#B66AF2
secondary
#D9F1C7
accent
#E00566
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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