#B066EB#B066EB

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

Color values

HEX#B066EB
RGBrgb(176, 102, 235)
HSLhsl(273, 77%, 66%)
HSVhsv(273, 57%, 92%)
CMYKcmyk(25.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(56.81, 53.35, -55.96)
CIE-LCHlch(56.81, 77.32, 313.64°)
OKLaboklab(65.03% 0.1207 -0.1576)
OKLCHoklch(65.03% 0.198 307.4)
XYZxyz(37.6482, 24.7315, 81.3715)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B066EB #A1EB66
analogous
#6D66EB #B066EB #EB66E4
triadic
#B066EB #EBB066 #66EBB0
tetradic
#B066EB #EB6D66 #A1EB66 #66E4EB
square
#B066EB #EB6D66 #A1EB66 #66E4EB
split-complementary
#B066EB #E4EB66 #66EB6D
monochromatic
#7519BE #9430E4 #B066EB #CC9CF2 #E8D2F9

Accessibility & contrast

On white

3.53
#B066EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B066EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B066EB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B066EB#FFFFFF#000000##000000
##B066EB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#A77F9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b066eb;
/* rgb */ color: rgb(176, 102, 235);
/* oklch */ color: oklch(65.0% 0.198 307.4);
Tailwind
colors: {
  custom: {
    50: '#cb94f2',
    500: '#b066eb',
    950: '#000000',
  },
}
SCSS
$custom: #b066eb;
$custom-light: #cb94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b066eb",
  "rgb": {
    "r": 176,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 273.383,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65033,
    "c": 0.19847,
    "h": 307.4
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#B066EB
secondary
#D4ECC1
accent
#D90C67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B066EB

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

Preview Lab → · Contrast checker → · Palette generator →

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