#B66DEC#B66DEC

#B66DEC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.191 H 308.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B66DEC
RGBrgb(182, 109, 236)
HSLhsl(274, 77%, 68%)
HSVhsv(274, 54%, 93%)
CMYKcmyk(22.9%, 53.8%, 0%, 7.5%)
CIE-LABlab(58.92, 51.45, -53.12)
CIE-LCHlch(58.92, 73.95, 314.09°)
OKLaboklab(66.75% 0.1193 -0.1491)
OKLCHoklch(66.75% 0.191 308.6)
XYZxyz(39.8974, 26.9391, 82.4386)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66DEC #A3EC6D
analogous
#766DEC #B66DEC #EC6DE3
triadic
#B66DEC #ECB66D #6DECB6
tetradic
#B66DEC #EC766D #A3EC6D #6DE3EC
square
#B66DEC #EC766D #A3EC6D #6DE3EC
split-complementary
#B66DEC #E3EC6D #6DEC76
monochromatic
#7C1AC5 #9B37E5 #B66DEC #D1A3F3 #ECD9FA

Accessibility & contrast

On white

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

On black

6.39
#B66DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66DEC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66DEC#FFFFFF#000000##000000
##B66DEC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#AE84A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b66dec;
/* rgb */ color: rgb(182, 109, 236);
/* oklch */ color: oklch(66.7% 0.191 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf99f3',
    500: '#b66dec',
    950: '#000000',
  },
}
SCSS
$custom: #b66dec;
$custom-light: #cf99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b66dec",
  "rgb": {
    "r": 182,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 274.488,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.19094,
    "h": 308.6
  },
  "luminance": 0.26938
}

Semantic roles & 50–950 ramp

primary
#B66DEC
secondary
#D7EEC7
accent
#D90C63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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