#B957DD#B957DD

#B957DD is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.3% C 0.209 H 315.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B957DD
RGBrgb(185, 87, 221)
HSLhsl(284, 66%, 60%)
HSVhsv(284, 61%, 87%)
CMYKcmyk(16.3%, 60.6%, 0%, 13.3%)
CIE-LABlab(54.40, 59.87, -51.88)
CIE-LCHlch(54.40, 79.22, 319.09°)
OKLaboklab(63.26% 0.1499 -0.1453)
OKLCHoklch(63.26% 0.209 315.9)
XYZxyz(36.4649, 22.3524, 70.7862)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957DD #7BDD57
analogous
#7657DD #B957DD #DD57BE
triadic
#B957DD #DDB957 #57DDB9
tetradic
#B957DD #DD7657 #7BDD57 #57BEDD
square
#B957DD #DD7657 #7BDD57 #57BEDD
split-complementary
#B957DD #BEDD57 #57DD76
monochromatic
#791F9A #A12ACD #B957DD #CE8AE7 #E3BDF2

Accessibility & contrast

On white

3.84
#B957DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B957DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957DD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957DD#FFFFFF#000000##000000
##B957DD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE1
Deuteranopia (green-blind)
#5785DA
Tritanopia (blue-blind)
#B76E92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b957dd;
/* rgb */ color: rgb(185, 87, 221);
/* oklch */ color: oklch(63.3% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#d18ce8',
    500: '#b957dd',
    950: '#000000',
  },
}
SCSS
$custom: #b957dd;
$custom-light: #d18ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#b957dd",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 283.881,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.20878,
    "h": 315.9
  },
  "luminance": 0.22351
}

Semantic roles & 50–950 ramp

primary
#B957DD
secondary
#BCE1AE
accent
#CE1748
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B957DD

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

Preview Lab → · Contrast checker → · Palette generator →

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