#B066EC#B066EC

#B066EC is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.1% C 0.200 H 307.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B066EC
RGBrgb(176, 102, 236)
HSLhsl(273, 78%, 66%)
HSVhsv(273, 57%, 93%)
CMYKcmyk(25.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(56.87, 53.58, -56.42)
CIE-LCHlch(56.87, 77.81, 313.52°)
OKLaboklab(65.09% 0.1207 -0.1589)
OKLCHoklch(65.09% 0.2 307.2)
XYZxyz(37.7931, 24.7894, 82.1345)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B066EC #A2EC66
analogous
#6D66EC #B066EC #EC66E5
triadic
#B066EC #ECB066 #66ECB0
tetradic
#B066EC #EC6D66 #A2EC66 #66E5EC
square
#B066EC #EC6D66 #A2EC66 #66E5EC
split-complementary
#B066EC #E5EC66 #66EC6D
monochromatic
#7518C0 #9430E5 #B066EC #CC9CF3 #E8D3FA

Accessibility & contrast

On white

3.52
#B066EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B066EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B066EC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B066EC#FFFFFF#000000##000000
##B066EC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#A77F9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b066ec;
/* rgb */ color: rgb(176, 102, 236);
/* oklch */ color: oklch(65.1% 0.200 307.2);
Tailwind
colors: {
  custom: {
    50: '#cb95f3',
    500: '#b066ec',
    950: '#000000',
  },
}
SCSS
$custom: #b066ec;
$custom-light: #cb95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b066ec",
  "rgb": {
    "r": 176,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 273.134,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65093,
    "c": 0.19957,
    "h": 307.2
  },
  "luminance": 0.24789
}

Semantic roles & 50–950 ramp

primary
#B066EC
secondary
#D5EDC1
accent
#DA0B68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B066EC

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

Preview Lab → · Contrast checker → · Palette generator →

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