#B66AFE#B66AFE

#B66AFE is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.4% C 0.215 H 305.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B66AFE
RGBrgb(182, 106, 254)
HSLhsl(271, 99%, 71%)
HSVhsv(271, 58%, 100%)
CMYKcmyk(28.3%, 58.3%, 0%, 0.4%)
CIE-LABlab(59.35, 57.05, -62.40)
CIE-LCHlch(59.35, 84.54, 312.43°)
OKLaboklab(67.39% 0.1234 -0.1763)
OKLCHoklch(67.39% 0.215 305)
XYZxyz(42.3309, 27.4092, 96.8071)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66AFE #B2FE6A
analogous
#6C6AFE #B66AFE #FE6AFC
triadic
#B66AFE #FEB66A #6AFEB6
tetradic
#B66AFE #FE6C6A #B2FE6A #6AFCFE
square
#B66AFE #FE6C6A #B2FE6A #6AFCFE
split-complementary
#B66AFE #FCFE6A #6AFE6C
monochromatic
#7A02EC #982DFE #B66AFE #D4A7FE #F0E1FF

Accessibility & contrast

On white

3.24
#B66AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B66AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66AFE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66AFE#FFFFFF#000000##000000
##B66AFE1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#278DFF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#A987AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b66afe;
/* rgb */ color: rgb(182, 106, 254);
/* oklch */ color: oklch(67.4% 0.215 305.0);
Tailwind
colors: {
  custom: {
    50: '#d098ff',
    500: '#b66afe',
    950: '#000000',
  },
}
SCSS
$custom: #b66afe;
$custom-light: #d098ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b66afe",
  "rgb": {
    "r": 182,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 270.811,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.21518,
    "h": 305
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

primary
#B66AFE
secondary
#E1F6CE
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B66AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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