#B066EA#B066EA

#B066EA is a light, vivid violet. Relative luminance 0.247; OKLCH L 65.0% C 0.197 H 307.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B066EA
RGBrgb(176, 102, 234)
HSLhsl(274, 76%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(24.8%, 56.4%, 0%, 8.2%)
CIE-LABlab(56.76, 53.13, -55.49)
CIE-LCHlch(56.76, 76.82, 313.76°)
OKLaboklab(64.97% 0.1207 -0.1562)
OKLCHoklch(64.97% 0.197 307.7)
XYZxyz(37.5041, 24.6738, 80.6127)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B066EA #A0EA66
analogous
#6E66EA #B066EA #EA66E2
triadic
#B066EA #EAB066 #66EAB0
tetradic
#B066EA #EA6E66 #A0EA66 #66E2EA
square
#B066EA #EA6E66 #A0EA66 #66E2EA
split-complementary
#B066EA #E2EA66 #66EA6E
monochromatic
#751ABC #9430E3 #B066EA #CC9CF1 #E8D2F9

Accessibility & contrast

On white

3.54
#B066EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B066EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B066EA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B066EA#FFFFFF#000000##000000
##B066EA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#A77F9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b066ea;
/* rgb */ color: rgb(176, 102, 234);
/* oklch */ color: oklch(65.0% 0.197 307.7);
Tailwind
colors: {
  custom: {
    50: '#cb94f1',
    500: '#b066ea',
    950: '#000000',
  },
}
SCSS
$custom: #b066ea;
$custom-light: #cb94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b066ea",
  "rgb": {
    "r": 176,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 273.636,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64974,
    "c": 0.19737,
    "h": 307.7
  },
  "luminance": 0.24673
}

Semantic roles & 50–950 ramp

primary
#B066EA
secondary
#D3ECC0
accent
#D80D66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B066EA

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

Preview Lab → · Contrast checker → · Palette generator →

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