#B957DB#B957DB

#B957DB is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.1% C 0.207 H 316.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B957DB
RGBrgb(185, 87, 219)
HSLhsl(285, 65%, 60%)
HSVhsv(285, 60%, 86%)
CMYKcmyk(15.5%, 60.3%, 0%, 14.1%)
CIE-LABlab(54.29, 59.47, -50.93)
CIE-LCHlch(54.29, 78.29, 319.42°)
OKLaboklab(63.14% 0.1499 -0.1425)
OKLCHoklch(63.14% 0.207 316.4)
XYZxyz(36.2000, 22.2465, 69.3912)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957DB #79DB57
analogous
#7757DB #B957DB #DB57BB
triadic
#B957DB #DBB957 #57DBB9
tetradic
#B957DB #DB7757 #79DB57 #57BBDB
square
#B957DB #DB7757 #79DB57 #57BBDB
split-complementary
#B957DB #BBDB57 #57DB77
monochromatic
#792097 #A12BCA #B957DB #CE89E6 #E3BCF1

Accessibility & contrast

On white

3.85
#B957DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B957DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957DB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957DB#FFFFFF#000000##000000
##B957DB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#B76E91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b957db;
/* rgb */ color: rgb(185, 87, 219);
/* oklch */ color: oklch(63.1% 0.207 316.4);
Tailwind
colors: {
  custom: {
    50: '#d18ce7',
    500: '#b957db',
    950: '#000000',
  },
}
SCSS
$custom: #b957db;
$custom-light: #d18ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b957db",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 284.545,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.20683,
    "h": 316.4
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#B957DB
secondary
#BBE0AD
accent
#E8406B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B957DB

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

Preview Lab → · Contrast checker → · Palette generator →

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