#B08CEE#B08CEE

#B08CEE is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.143 H 299.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B08CEE
RGBrgb(176, 140, 238)
HSLhsl(262, 74%, 74%)
HSVhsv(262, 41%, 93%)
CMYKcmyk(26.1%, 41.2%, 0%, 6.7%)
CIE-LABlab(65.09, 33.46, -44.50)
CIE-LCHlch(65.09, 55.68, 306.94°)
OKLaboklab(71.25% 0.0709 -0.1243)
OKLCHoklch(71.25% 0.143 299.7)
XYZxyz(42.7117, 34.1591, 85.2155)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CEE #CAEE8C
analogous
#8C99EE #B08CEE #E18CEE
triadic
#B08CEE #EEB08C #8CEEB0
tetradic
#B08CEE #EE8C99 #CAEE8C #8CEEE1
square
#B08CEE #EE8C99 #CAEE8C #8CEEE1
split-complementary
#B08CEE #EEE18C #99EE8C
monochromatic
#6721DE #8B57E6 #B08CEE #D5C1F6 #EDE4FB

Accessibility & contrast

On white

2.68
#B08CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B08CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CEE
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CEE#FFFFFF#000000##000000
##B08CEE1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#A49DB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b08cee;
/* rgb */ color: rgb(176, 140, 238);
/* oklch */ color: oklch(71.2% 0.143 299.7);
Tailwind
colors: {
  custom: {
    50: '#c9aef4',
    500: '#b08cee',
    950: '#000000',
  },
}
SCSS
$custom: #b08cee;
$custom-light: #c9aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cee",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 262.041,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71246,
    "c": 0.14307,
    "h": 299.7
  },
  "luminance": 0.34159
}

Semantic roles & 50–950 ramp

primary
#B08CEE
secondary
#E9F3D8
accent
#D60F8D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B08CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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