#B66ECA#B66ECA

#B66ECA is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.1% C 0.152 H 318.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B66ECA
RGBrgb(182, 110, 202)
HSLhsl(287, 46%, 61%)
HSVhsv(287, 46%, 79%)
CMYKcmyk(9.9%, 45.5%, 0%, 20.8%)
CIE-LABlab(57.43, 43.68, -36.35)
CIE-LCHlch(57.43, 56.83, 320.23°)
OKLaboklab(65.09% 0.1142 -0.1004)
OKLCHoklch(65.09% 0.152 318.7)
XYZxyz(35.5266, 25.3624, 58.8897)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66ECA #82CA6E
analogous
#886ECA #B66ECA #CA6EB0
triadic
#B66ECA #CAB66E #6ECAB6
tetradic
#B66ECA #CA886E #82CA6E #6EB0CA
square
#B66ECA #CA886E #82CA6E #6EB0CA
split-complementary
#B66ECA #B0CA6E #6ECA88
monochromatic
#78338B #9E43B8 #B66ECA #CD9BDA #E3C8EB

Accessibility & contrast

On white

3.46
#B66ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B66ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66ECA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66ECA#FFFFFF#000000##000000
##B66ECA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#738CC7
Tritanopia (blue-blind)
#B67A92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b66eca;
/* rgb */ color: rgb(182, 110, 202);
/* oklch */ color: oklch(65.1% 0.152 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd99da',
    500: '#b66eca',
    950: '#000000',
  },
}
SCSS
$custom: #b66eca;
$custom-light: #cd99da;
$custom-dark: #000000;
JSON
{
  "hex": "#b66eca",
  "rgb": {
    "r": 182,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 286.957,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65092,
    "c": 0.15205,
    "h": 318.7
  },
  "luminance": 0.25361
}

Semantic roles & 50–950 ramp

primary
#B66ECA
secondary
#C0DBB9
accent
#BA2C4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B66ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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