#B06BEF#B06BEF

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

Color values

HEX#B06BEF
RGBrgb(176, 107, 239)
HSLhsl(271, 80%, 68%)
HSVhsv(271, 55%, 94%)
CMYKcmyk(26.4%, 55.2%, 0%, 6.3%)
CIE-LABlab(58.02, 51.68, -56.26)
CIE-LCHlch(58.02, 76.40, 312.57°)
OKLaboklab(65.99% 0.1146 -0.1585)
OKLCHoklch(65.99% 0.196 305.9)
XYZxyz(38.7389, 25.9778, 84.6180)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06BEF #AAEF6B
analogous
#6E6BEF #B06BEF #EF6BEC
triadic
#B06BEF #EFB06B #6BEFB0
tetradic
#B06BEF #EF6E6B #AAEF6B #6BECEF
square
#B06BEF #EF6E6B #AAEF6B #6BECEF
split-complementary
#B06BEF #ECEF6B #6BEF6E
monochromatic
#7416CA #9334E9 #B06BEF #CDA2F5 #EBD9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B06BEF#FFFFFF#000000##000000
##B06BEF1.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)
#3B89F3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#A684A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b06bef;
/* rgb */ color: rgb(176, 107, 239);
/* oklch */ color: oklch(66.0% 0.196 305.9);
Tailwind
colors: {
  custom: {
    50: '#cb98f5',
    500: '#b06bef',
    950: '#000000',
  },
}
SCSS
$custom: #b06bef;
$custom-light: #cb98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b06bef",
  "rgb": {
    "r": 176,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 271.364,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.19554,
    "h": 305.9
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#B06BEF
secondary
#DAEFC7
accent
#DD096E
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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