#B06FEF#B06FEF

#B06FEF is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.190 H 305.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B06FEF
RGBrgb(176, 111, 239)
HSLhsl(270, 80%, 69%)
HSVhsv(270, 54%, 94%)
CMYKcmyk(26.4%, 53.6%, 0%, 6.3%)
CIE-LABlab(58.82, 49.58, -54.99)
CIE-LCHlch(58.82, 74.04, 312.04°)
OKLaboklab(66.58% 0.1095 -0.1547)
OKLCHoklch(66.58% 0.19 305.3)
XYZxyz(39.1656, 26.8312, 84.7603)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06FEF #AEEF6F
analogous
#706FEF #B06FEF #EF6FEE
triadic
#B06FEF #EFB06F #6FEFB0
tetradic
#B06FEF #EF706F #AEEF6F #6FEEEF
square
#B06FEF #EF706F #AEEF6F #6FEEEF
split-complementary
#B06FEF #EEEF6F #6FEF70
monochromatic
#7317CD #9238E9 #B06FEF #CEA6F5 #ECDDFB

Accessibility & contrast

On white

3.30
#B06FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B06FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06FEF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06FEF#FFFFFF#000000##000000
##B06FEF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#A587A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b06fef;
/* rgb */ color: rgb(176, 111, 239);
/* oklch */ color: oklch(66.6% 0.190 305.3);
Tailwind
colors: {
  custom: {
    50: '#cb9af5',
    500: '#b06fef',
    950: '#000000',
  },
}
SCSS
$custom: #b06fef;
$custom-light: #cb9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b06fef",
  "rgb": {
    "r": 176,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 270.469,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66579,
    "c": 0.18957,
    "h": 305.3
  },
  "luminance": 0.26831
}

Semantic roles & 50–950 ramp

primary
#B06FEF
secondary
#DDF0CA
accent
#DC0971
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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