#B15ECC#B15ECC

#B15ECC is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.2% C 0.178 H 317.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B15ECC
RGBrgb(177, 94, 204)
HSLhsl(285, 52%, 58%)
HSVhsv(285, 54%, 80%)
CMYKcmyk(13.2%, 53.9%, 0%, 20%)
CIE-LABlab(53.72, 51.01, -43.36)
CIE-LCHlch(53.72, 66.95, 319.63°)
OKLaboklab(62.25% 0.1306 -0.1207)
OKLCHoklch(62.25% 0.178 317.2)
XYZxyz(33.0317, 21.7133, 59.5661)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15ECC #79CC5E
analogous
#7A5ECC #B15ECC #CC5EB0
triadic
#B15ECC #CCB15E #5ECCB1
tetradic
#B15ECC #CC7A5E #79CC5E #5EB0CC
square
#B15ECC #CC7A5E #79CC5E #5EB0CC
split-complementary
#B15ECC #B0CC5E #5ECC7A
monochromatic
#6F2A85 #9639B4 #B15ECC #C88CDB #DEBBE9

Accessibility & contrast

On white

3.93
#B15ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B15ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15ECC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15ECC#FFFFFF#000000##000000
##B15ECC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#B06F8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b15ecc;
/* rgb */ color: rgb(177, 94, 204);
/* oklch */ color: oklch(62.2% 0.178 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb8fdc',
    500: '#b15ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b15ecc;
$custom-light: #cb8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ecc",
  "rgb": {
    "r": 177,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 285.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62248,
    "c": 0.17787,
    "h": 317.2
  },
  "luminance": 0.21712
}

Semantic roles & 50–950 ramp

primary
#B15ECC
secondary
#B8D9AD
accent
#DB4C70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B15ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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