#B06BEC#B06BEC

#B06BEC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.8% C 0.192 H 306.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B06BEC
RGBrgb(176, 107, 236)
HSLhsl(272, 77%, 67%)
HSVhsv(272, 55%, 93%)
CMYKcmyk(25.4%, 54.7%, 0%, 7.5%)
CIE-LABlab(57.85, 50.99, -54.86)
CIE-LCHlch(57.85, 74.90, 312.91°)
OKLaboklab(65.81% 0.1144 -0.1544)
OKLCHoklch(65.81% 0.192 306.6)
XYZxyz(38.2994, 25.8020, 82.3032)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06BEC #A7EC6B
analogous
#6F6BEC #B06BEC #EC6BE8
triadic
#B06BEC #ECB06B #6BECB0
tetradic
#B06BEC #EC6F6B #A7EC6B #6BE8EC
square
#B06BEC #EC6F6B #A7EC6B #6BE8EC
split-complementary
#B06BEC #E8EC6B #6BEC6F
monochromatic
#7419C4 #9335E5 #B06BEC #CDA1F3 #EAD7FA

Accessibility & contrast

On white

3.41
#B06BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B06BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06BEC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06BEC#FFFFFF#000000##000000
##B06BEC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#A683A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b06bec;
/* rgb */ color: rgb(176, 107, 236);
/* oklch */ color: oklch(65.8% 0.192 306.6);
Tailwind
colors: {
  custom: {
    50: '#cb98f3',
    500: '#b06bec',
    950: '#000000',
  },
}
SCSS
$custom: #b06bec;
$custom-light: #cb98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b06bec",
  "rgb": {
    "r": 176,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 272.093,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.19216,
    "h": 306.6
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B06BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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