#B66BEA#B66BEA

#B66BEA is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.192 H 309.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B66BEA
RGBrgb(182, 107, 234)
HSLhsl(275, 75%, 67%)
HSVhsv(275, 54%, 92%)
CMYKcmyk(22.2%, 54.3%, 0%, 8.2%)
CIE-LABlab(58.42, 52.04, -52.80)
CIE-LCHlch(58.42, 74.14, 314.59°)
OKLaboklab(66.34% 0.1217 -0.1482)
OKLCHoklch(66.34% 0.192 309.4)
XYZxyz(39.3975, 26.4016, 80.8465)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BEA #9FEA6B
analogous
#776BEA #B66BEA #EA6BDF
triadic
#B66BEA #EAB66B #6BEAB6
tetradic
#B66BEA #EA776B #9FEA6B #6BDFEA
square
#B66BEA #EA776B #9FEA6B #6BDFEA
split-complementary
#B66BEA #DFEA6B #6BEA77
monochromatic
#7C1BBF #9C35E2 #B66BEA #D0A1F2 #EBD6F9

Accessibility & contrast

On white

3.34
#B66BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B66BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66BEA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66BEA#FFFFFF#000000##000000
##B66BEA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#AF82A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b66bea;
/* rgb */ color: rgb(182, 107, 234);
/* oklch */ color: oklch(66.3% 0.192 309.4);
Tailwind
colors: {
  custom: {
    50: '#cf98f1',
    500: '#b66bea',
    950: '#000000',
  },
}
SCSS
$custom: #b66bea;
$custom-light: #cf98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b66bea",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 275.433,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66344,
    "c": 0.19176,
    "h": 309.4
  },
  "luminance": 0.26401
}

Semantic roles & 50–950 ramp

primary
#B66BEA
secondary
#D5EDC4
accent
#D70E61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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