#B06CEF#B06CEF

#B06CEF is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.194 H 305.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B06CEF
RGBrgb(176, 108, 239)
HSLhsl(271, 80%, 68%)
HSVhsv(271, 55%, 94%)
CMYKcmyk(26.4%, 54.8%, 0%, 6.3%)
CIE-LABlab(58.21, 51.16, -55.95)
CIE-LCHlch(58.21, 75.81, 312.44°)
OKLaboklab(66.14% 0.1133 -0.1576)
OKLCHoklch(66.14% 0.194 305.7)
XYZxyz(38.8437, 26.1875, 84.6530)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06CEF #ABEF6C
analogous
#6E6CEF #B06CEF #EF6CEC
triadic
#B06CEF #EFB06C #6CEFB0
tetradic
#B06CEF #EF6E6C #ABEF6C #6CECEF
square
#B06CEF #EF6E6C #ABEF6C #6CECEF
split-complementary
#B06CEF #ECEF6C #6CEF6E
monochromatic
#7416CB #9235E9 #B06CEF #CEA3F5 #EBDAFB

Accessibility & contrast

On white

3.37
#B06CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B06CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06CEF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06CEF#FFFFFF#000000##000000
##B06CEF1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#A685A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b06cef;
/* rgb */ color: rgb(176, 108, 239);
/* oklch */ color: oklch(66.1% 0.194 305.7);
Tailwind
colors: {
  custom: {
    50: '#cb98f5',
    500: '#b06cef',
    950: '#000000',
  },
}
SCSS
$custom: #b06cef;
$custom-light: #cb98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b06cef",
  "rgb": {
    "r": 176,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 271.145,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66135,
    "c": 0.19406,
    "h": 305.7
  },
  "luminance": 0.26187
}

Semantic roles & 50–950 ramp

primary
#B06CEF
secondary
#DBEFC7
accent
#DD096F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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