#B06FEC#B06FEC

#B06FEC is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.186 H 306.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B06FEC
RGBrgb(176, 111, 236)
HSLhsl(271, 77%, 68%)
HSVhsv(271, 53%, 93%)
CMYKcmyk(25.4%, 53%, 0%, 7.5%)
CIE-LABlab(58.65, 48.89, -53.58)
CIE-LCHlch(58.65, 72.53, 312.38°)
OKLaboklab(66.41% 0.1093 -0.1506)
OKLCHoklch(66.41% 0.186 306)
XYZxyz(38.7261, 26.6554, 82.4455)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06FEC #ABEC6F
analogous
#716FEC #B06FEC #EC6FE9
triadic
#B06FEC #ECB06F #6FECB0
tetradic
#B06FEC #EC716F #ABEC6F #6FE9EC
square
#B06FEC #EC716F #ABEC6F #6FE9EC
split-complementary
#B06FEC #E9EC6F #6FEC71
monochromatic
#741AC6 #9239E5 #B06FEC #CEA5F3 #EBDBFA

Accessibility & contrast

On white

3.32
#B06FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B06FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06FEC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06FEC#FFFFFF#000000##000000
##B06FEC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#A686A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b06fec;
/* rgb */ color: rgb(176, 111, 236);
/* oklch */ color: oklch(66.4% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#ca9af3',
    500: '#b06fec',
    950: '#000000',
  },
}
SCSS
$custom: #b06fec;
$custom-light: #ca9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#b06fec",
  "rgb": {
    "r": 176,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 271.2,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66405,
    "c": 0.18612,
    "h": 306
  },
  "luminance": 0.26655
}

Semantic roles & 50–950 ramp

primary
#B06FEC
secondary
#DBEFC8
accent
#D90D6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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