#B06CEB#B06CEB

#B06CEB is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.190 H 306.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B06CEB
RGBrgb(176, 108, 235)
HSLhsl(272, 76%, 67%)
HSVhsv(272, 54%, 92%)
CMYKcmyk(25.1%, 54%, 0%, 7.8%)
CIE-LABlab(57.99, 50.24, -54.07)
CIE-LCHlch(57.99, 73.81, 312.90°)
OKLaboklab(65.9% 0.1131 -0.1521)
OKLCHoklch(65.9% 0.19 306.6)
XYZxyz(38.2594, 25.9538, 81.5752)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06CEB #A7EB6C
analogous
#716CEB #B06CEB #EB6CE7
triadic
#B06CEB #EBB06C #6CEBB0
tetradic
#B06CEB #EB716C #A7EB6C #6CE7EB
square
#B06CEB #EB716C #A7EB6C #6CE7EB
split-complementary
#B06CEB #E7EB6C #6CEB71
monochromatic
#741AC2 #9336E4 #B06CEB #CDA2F2 #EAD8FA

Accessibility & contrast

On white

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

On black

6.19
#B06CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06CEB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06CEB#FFFFFF#000000##000000
##B06CEB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#A783A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b06ceb;
/* rgb */ color: rgb(176, 108, 235);
/* oklch */ color: oklch(65.9% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#cb98f2',
    500: '#b06ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b06ceb;
$custom-light: #cb98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b06ceb",
  "rgb": {
    "r": 176,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 272.126,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.659,
    "c": 0.18953,
    "h": 306.6
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#B06CEB
secondary
#D8EDC5
accent
#D80D6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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