#B15CE4#B15CE4

#B15CE4 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.206 H 310.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B15CE4
RGBrgb(177, 92, 228)
HSLhsl(278, 72%, 63%)
HSVhsv(278, 60%, 89%)
CMYKcmyk(22.4%, 59.6%, 0%, 10.6%)
CIE-LABlab(54.66, 57.05, -55.47)
CIE-LCHlch(54.66, 79.57, 315.81°)
OKLaboklab(63.36% 0.1341 -0.1561)
OKLCHoklch(63.36% 0.206 310.7)
XYZxyz(35.9596, 22.6036, 75.8524)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CE4 #8FE45C
analogous
#6D5CE4 #B15CE4 #E45CD3
triadic
#B15CE4 #E4B15C #5CE4B1
tetradic
#B15CE4 #E46D5C #8FE45C #5CD3E4
square
#B15CE4 #E46D5C #8FE45C #5CD3E4
split-complementary
#B15CE4 #D3E45C #5CE46D
monochromatic
#741CAA #9827DB #B15CE4 #CA91ED #E3C5F5

Accessibility & contrast

On white

3.80
#B15CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B15CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CE4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CE4#FFFFFF#000000##000000
##B15CE41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE8
Deuteranopia (green-blind)
#4E84E1
Tritanopia (blue-blind)
#AB7698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b15ce4;
/* rgb */ color: rgb(177, 92, 228);
/* oklch */ color: oklch(63.4% 0.206 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc8eed',
    500: '#b15ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b15ce4;
$custom-light: #cc8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ce4",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 277.5,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.20578,
    "h": 310.7
  },
  "luminance": 0.22603
}

Semantic roles & 50–950 ramp

primary
#B15CE4
secondary
#C8E7B5
accent
#D4125B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B15CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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