#B15ECF#B15ECF

#B15ECF is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.4% C 0.181 H 316.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B15ECF
RGBrgb(177, 94, 207)
HSLhsl(284, 54%, 59%)
HSVhsv(284, 55%, 81%)
CMYKcmyk(14.5%, 54.6%, 0%, 18.8%)
CIE-LABlab(53.88, 51.63, -44.83)
CIE-LCHlch(53.88, 68.37, 319.03°)
OKLaboklab(62.41% 0.1308 -0.125)
OKLCHoklch(62.41% 0.181 316.3)
XYZxyz(33.3950, 21.8586, 61.4794)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15ECF #7CCF5E
analogous
#795ECF #B15ECF #CF5EB5
triadic
#B15ECF #CFB15E #5ECFB1
tetradic
#B15ECF #CF795E #7CCF5E #5EB5CF
square
#B15ECF #CF795E #7CCF5E #5EB5CF
split-complementary
#B15ECF #B5CF5E #5ECF79
monochromatic
#70298A #9637B9 #B15ECF #C88DDD #DFBCEB

Accessibility & contrast

On white

3.91
#B15ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B15ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15ECF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15ECF#FFFFFF#000000##000000
##B15ECF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD3
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#B0708E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b15ecf;
/* rgb */ color: rgb(177, 94, 207);
/* oklch */ color: oklch(62.4% 0.181 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb8fde',
    500: '#b15ecf',
    950: '#000000',
  },
}
SCSS
$custom: #b15ecf;
$custom-light: #cb8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ecf",
  "rgb": {
    "r": 177,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 284.071,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.18096,
    "h": 316.3
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#B15ECF
secondary
#BADBAE
accent
#DD4A71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B15ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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