#B958DF#B958DF

#B958DF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.5% C 0.209 H 315.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B958DF
RGBrgb(185, 88, 223)
HSLhsl(283, 68%, 61%)
HSVhsv(283, 61%, 87%)
CMYKcmyk(17%, 60.5%, 0%, 12.5%)
CIE-LABlab(54.68, 59.81, -52.56)
CIE-LCHlch(54.68, 79.62, 318.69°)
OKLaboklab(63.5% 0.1487 -0.1473)
OKLCHoklch(63.5% 0.209 315.3)
XYZxyz(36.8145, 22.6227, 72.2251)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958DF #7EDF58
analogous
#7558DF #B958DF #DF58C1
triadic
#B958DF #DFB958 #58DFB9
tetradic
#B958DF #DF7558 #7EDF58 #58C1DF
square
#B958DF #DF7558 #7EDF58 #58C1DF
split-complementary
#B958DF #C1DF58 #58DF75
monochromatic
#7A1E9E #A228D2 #B958DF #CF8BE9 #E4BFF3

Accessibility & contrast

On white

3.80
#B958DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B958DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958DF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958DF#FFFFFF#000000##000000
##B958DF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7DE3
Deuteranopia (green-blind)
#5686DC
Tritanopia (blue-blind)
#B67094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b958df;
/* rgb */ color: rgb(185, 88, 223);
/* oklch */ color: oklch(63.5% 0.209 315.3);
Tailwind
colors: {
  custom: {
    50: '#d18ce9',
    500: '#b958df',
    950: '#000000',
  },
}
SCSS
$custom: #b958df;
$custom-light: #d18ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b958df",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 283.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63498,
    "c": 0.20932,
    "h": 315.3
  },
  "luminance": 0.22621
}

Semantic roles & 50–950 ramp

primary
#B958DF
secondary
#BEE3B0
accent
#D0164A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B958DF

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

Preview Lab → · Contrast checker → · Palette generator →

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