#B06CEC#B06CEC

#B06CEC is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.0% C 0.191 H 306.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B06CEC
RGBrgb(176, 108, 236)
HSLhsl(272, 77%, 67%)
HSVhsv(272, 54%, 93%)
CMYKcmyk(25.4%, 54.2%, 0%, 7.5%)
CIE-LABlab(58.05, 50.47, -54.54)
CIE-LCHlch(58.05, 74.31, 312.78°)
OKLaboklab(65.96% 0.1132 -0.1534)
OKLCHoklch(65.96% 0.191 306.4)
XYZxyz(38.4042, 26.0117, 82.3382)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06CEC #A8EC6C
analogous
#706CEC #B06CEC #EC6CE8
triadic
#B06CEC #ECB06C #6CECB0
tetradic
#B06CEC #EC706C #A8EC6C #6CE8EC
square
#B06CEC #EC706C #A8EC6C #6CE8EC
split-complementary
#B06CEC #E8EC6C #6CEC70
monochromatic
#7419C4 #9336E5 #B06CEC #CDA2F3 #EAD8FA

Accessibility & contrast

On white

3.39
#B06CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B06CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06CEC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06CEC#FFFFFF#000000##000000
##B06CEC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#A684A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b06cec;
/* rgb */ color: rgb(176, 108, 236);
/* oklch */ color: oklch(66.0% 0.191 306.4);
Tailwind
colors: {
  custom: {
    50: '#cb98f3',
    500: '#b06cec',
    950: '#000000',
  },
}
SCSS
$custom: #b06cec;
$custom-light: #cb98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b06cec",
  "rgb": {
    "r": 176,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 271.875,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65959,
    "c": 0.19067,
    "h": 306.4
  },
  "luminance": 0.26011
}

Semantic roles & 50–950 ramp

primary
#B06CEC
secondary
#D9EEC6
accent
#D90C6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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