#B15CD9#B15CD9

#B15CD9 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.7% C 0.194 H 313.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B15CD9
RGBrgb(177, 92, 217)
HSLhsl(281, 62%, 61%)
HSVhsv(281, 58%, 85%)
CMYKcmyk(18.4%, 57.6%, 0%, 14.9%)
CIE-LABlab(54.04, 54.71, -50.25)
CIE-LCHlch(54.04, 74.28, 317.43°)
OKLaboklab(62.71% 0.134 -0.1408)
OKLCHoklch(62.71% 0.194 313.6)
XYZxyz(34.4809, 22.0121, 68.0646)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CD9 #84D95C
analogous
#725CD9 #B15CD9 #D95CC2
triadic
#B15CD9 #D9B15C #5CD9B1
tetradic
#B15CD9 #D9725C #84D95C #5CC2D9
square
#B15CD9 #D9725C #84D95C #5CC2D9
split-complementary
#B15CD9 #C2D95C #5CD972
monochromatic
#722397 #982FC9 #B15CD9 #C98EE5 #E0BFF0

Accessibility & contrast

On white

3.89
#B15CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B15CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CD9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CD9#FFFFFF#000000##000000
##B15CD91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDD
Deuteranopia (green-blind)
#5783D6
Tritanopia (blue-blind)
#AD7292
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b15cd9;
/* rgb */ color: rgb(177, 92, 217);
/* oklch */ color: oklch(62.7% 0.194 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb8ee5',
    500: '#b15cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b15cd9;
$custom-light: #cb8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15cd9",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 280.8,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.19435,
    "h": 313.6
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#B15CD9
secondary
#C0E0B1
accent
#CA1C53
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B15CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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