#B15CEE#B15CEE

#B15CEE is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.216 H 308.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B15CEE
RGBrgb(177, 92, 238)
HSLhsl(275, 81%, 65%)
HSVhsv(275, 61%, 93%)
CMYKcmyk(25.6%, 61.3%, 0%, 6.7%)
CIE-LABlab(55.25, 59.23, -60.13)
CIE-LCHlch(55.25, 84.40, 314.57°)
OKLaboklab(63.98% 0.134 -0.1697)
OKLCHoklch(63.98% 0.216 308.3)
XYZxyz(37.3881, 23.1750, 83.3760)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CEE #99EE5C
analogous
#685CEE #B15CEE #EE5CE2
triadic
#B15CEE #EEB15C #5CEEB1
tetradic
#B15CEE #EE685C #99EE5C #5CE2EE
square
#B15CEE #EE685C #99EE5C #5CE2EE
split-complementary
#B15CEE #E2EE5C #5CEE68
monochromatic
#7614BC #9625E8 #B15CEE #CC93F4 #E6CBFA

Accessibility & contrast

On white

3.73
#B15CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B15CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CEE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CEE#FFFFFF#000000##000000
##B15CEE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E81F3
Deuteranopia (green-blind)
#4585EB
Tritanopia (blue-blind)
#A8799D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b15cee;
/* rgb */ color: rgb(177, 92, 238);
/* oklch */ color: oklch(64.0% 0.216 308.3);
Tailwind
colors: {
  custom: {
    50: '#cc8ef4',
    500: '#b15cee',
    950: '#000000',
  },
}
SCSS
$custom: #b15cee;
$custom-light: #cc8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b15cee",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 274.932,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63978,
    "c": 0.21622,
    "h": 308.3
  },
  "luminance": 0.23174
}

Semantic roles & 50–950 ramp

primary
#B15CEE
secondary
#CFECBA
accent
#DD0861
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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