#B66FEA#B66FEA

#B66FEA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.186 H 308.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B66FEA
RGBrgb(182, 111, 234)
HSLhsl(275, 75%, 68%)
HSVhsv(275, 53%, 92%)
CMYKcmyk(22.2%, 52.6%, 0%, 8.2%)
CIE-LABlab(59.21, 49.96, -51.54)
CIE-LCHlch(59.21, 71.78, 314.11°)
OKLaboklab(66.93% 0.1165 -0.1445)
OKLCHoklch(66.93% 0.186 308.9)
XYZxyz(39.8242, 27.2551, 80.9888)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66FEA #A3EA6F
analogous
#786FEA #B66FEA #EA6FE0
triadic
#B66FEA #EAB66F #6FEAB6
tetradic
#B66FEA #EA786F #A3EA6F #6FE0EA
square
#B66FEA #EA786F #A3EA6F #6FE0EA
split-complementary
#B66FEA #E0EA6F #6FEA78
monochromatic
#7C1CC2 #9B3AE2 #B66FEA #D1A4F2 #ECDAFA

Accessibility & contrast

On white

3.26
#B66FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B66FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66FEA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66FEA#FFFFFF#000000##000000
##B66FEA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#AF85A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b66fea;
/* rgb */ color: rgb(182, 111, 234);
/* oklch */ color: oklch(66.9% 0.186 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf9bf1',
    500: '#b66fea',
    950: '#000000',
  },
}
SCSS
$custom: #b66fea;
$custom-light: #cf9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b66fea",
  "rgb": {
    "r": 182,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 274.634,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66929,
    "c": 0.18565,
    "h": 308.9
  },
  "luminance": 0.27254
}

Semantic roles & 50–950 ramp

primary
#B66FEA
secondary
#D7EDC7
accent
#D70F63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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