#B15CE5#B15CE5

#B15CE5 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.4% C 0.207 H 310.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B15CE5
RGBrgb(177, 92, 229)
HSLhsl(277, 72%, 63%)
HSVhsv(277, 60%, 90%)
CMYKcmyk(22.7%, 59.8%, 0%, 10.2%)
CIE-LABlab(54.72, 57.27, -55.94)
CIE-LCHlch(54.72, 80.05, 315.67°)
OKLaboklab(63.42% 0.1341 -0.1574)
OKLCHoklch(63.42% 0.207 310.4)
XYZxyz(36.0988, 22.6593, 76.5856)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CE5 #90E55C
analogous
#6C5CE5 #B15CE5 #E55CD5
triadic
#B15CE5 #E5B15C #5CE5B1
tetradic
#B15CE5 #E56C5C #90E55C #5CD5E5
square
#B15CE5 #E56C5C #90E55C #5CD5E5
split-complementary
#B15CE5 #D5E55C #5CE56C
monochromatic
#751BAB #9827DD #B15CE5 #CA91ED #E4C6F6

Accessibility & contrast

On white

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

On black

5.53
#B15CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CE5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CE5#FFFFFF#000000##000000
##B15CE51.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#4D84E2
Tritanopia (blue-blind)
#AA7698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b15ce5;
/* rgb */ color: rgb(177, 92, 229);
/* oklch */ color: oklch(63.4% 0.207 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc8eee',
    500: '#b15ce5',
    950: '#000000',
  },
}
SCSS
$custom: #b15ce5;
$custom-light: #cc8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ce5",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 277.226,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63421,
    "c": 0.20682,
    "h": 310.4
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#B15CE5
secondary
#C8E7B6
accent
#D5115B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B15CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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