#B951CA#B951CA

#B951CA is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.199 H 321.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B951CA
RGBrgb(185, 81, 202)
HSLhsl(292, 53%, 55%)
HSVhsv(292, 60%, 79%)
CMYKcmyk(8.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(52.36, 58.92, -44.31)
CIE-LCHlch(52.36, 73.72, 323.06°)
OKLaboklab(61.44% 0.1567 -0.1232)
OKLCHoklch(61.44% 0.199 321.8)
XYZxyz(33.6095, 20.4651, 58.0455)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951CA #62CA51
analogous
#7C51CA #B951CA #CA519F
triadic
#B951CA #CAB951 #51CAB9
tetradic
#B951CA #CA7C51 #62CA51 #519FCA
square
#B951CA #CA7C51 #62CA51 #519FCA
split-complementary
#B951CA #9FCA51 #51CA7C
monochromatic
#6F257B #9934AA #B951CA #CC80D8 #DFAFE7

Accessibility & contrast

On white

4.12
#B951CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B951CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951CA#FFFFFF#000000##000000
##B951CA1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#BB6386
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b951ca;
/* rgb */ color: rgb(185, 81, 202);
/* oklch */ color: oklch(61.4% 0.199 321.8);
Tailwind
colors: {
  custom: {
    50: '#d188da',
    500: '#b951ca',
    950: '#000000',
  },
}
SCSS
$custom: #b951ca;
$custom-light: #d188da;
$custom-dark: #000000;
JSON
{
  "hex": "#b951ca",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 291.57,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.19931,
    "h": 321.8
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#B951CA
secondary
#A9D5A2
accent
#DD4B60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951CA

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

Preview Lab → · Contrast checker → · Palette generator →

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