#B15CEB#B15CEB

#B15CEB is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.213 H 309.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B15CEB
RGBrgb(177, 92, 235)
HSLhsl(276, 78%, 64%)
HSVhsv(276, 61%, 92%)
CMYKcmyk(24.7%, 60.9%, 0%, 7.8%)
CIE-LABlab(55.07, 58.57, -58.74)
CIE-LCHlch(55.07, 82.95, 314.92°)
OKLaboklab(63.79% 0.134 -0.1656)
OKLCHoklch(63.79% 0.213 309)
XYZxyz(36.9510, 23.0002, 81.0741)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CEB #96EB5C
analogous
#6A5CEB #B15CEB #EB5CDE
triadic
#B15CEB #EBB15C #5CEBB1
tetradic
#B15CEB #EB6A5C #96EB5C #5CDEEB
square
#B15CEB #EB6A5C #96EB5C #5CDEEB
split-complementary
#B15CEB #DEEB5C #5CEB6A
monochromatic
#7516B6 #9725E4 #B15CEB #CB93F2 #E5C9F8

Accessibility & contrast

On white

3.75
#B15CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B15CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CEB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CEB#FFFFFF#000000##000000
##B15CEB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1880EF
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#A9789B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b15ceb;
/* rgb */ color: rgb(177, 92, 235);
/* oklch */ color: oklch(63.8% 0.213 309.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ef2',
    500: '#b15ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b15ceb;
$custom-light: #cc8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ceb",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 275.664,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6379,
    "c": 0.21308,
    "h": 309
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#B15CEB
secondary
#CDEAB8
accent
#DA0B5F
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B15CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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