#B951D5#B951D5

#B951D5 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.1% C 0.210 H 318.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B951D5
RGBrgb(185, 81, 213)
HSLhsl(287, 61%, 58%)
HSVhsv(287, 62%, 84%)
CMYKcmyk(13.1%, 62%, 0%, 16.5%)
CIE-LABlab(52.95, 61.02, -49.65)
CIE-LCHlch(52.95, 78.67, 320.87°)
OKLaboklab(62.07% 0.157 -0.1388)
OKLCHoklch(62.07% 0.21 318.5)
XYZxyz(34.9586, 21.0047, 65.1508)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951D5 #6DD551
analogous
#7751D5 #B951D5 #D551AF
triadic
#B951D5 #D5B951 #51D5B9
tetradic
#B951D5 #D57751 #6DD551 #51AFD5
square
#B951D5 #D57751 #6DD551 #51AFD5
split-complementary
#B951D5 #AFD551 #51D577
monochromatic
#74218A #9D2DBC #B951D5 #CD82E1 #E1B4ED

Accessibility & contrast

On white

4.04
#B951D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B951D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951D5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951D5#FFFFFF#000000##000000
##B951D51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B78D9
Deuteranopia (green-blind)
#5882D2
Tritanopia (blue-blind)
#B9678C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b951d5;
/* rgb */ color: rgb(185, 81, 213);
/* oklch */ color: oklch(62.1% 0.210 318.5);
Tailwind
colors: {
  custom: {
    50: '#d188e2',
    500: '#b951d5',
    950: '#000000',
  },
}
SCSS
$custom: #b951d5;
$custom-light: #d188e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b951d5",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 287.273,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.20952,
    "h": 318.5
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#B951D5
secondary
#B2DBA6
accent
#E44466
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951D5

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

Preview Lab → · Contrast checker → · Palette generator →

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