#B956CA#B956CA

#B956CA is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.192 H 321.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B956CA
RGBrgb(185, 86, 202)
HSLhsl(291, 52%, 56%)
HSVhsv(291, 57%, 79%)
CMYKcmyk(8.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(53.21, 56.61, -42.97)
CIE-LCHlch(53.21, 71.07, 322.80°)
OKLaboklab(62.06% 0.1504 -0.1193)
OKLCHoklch(62.06% 0.192 321.6)
XYZxyz(33.9949, 21.2357, 58.1739)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956CA #67CA56
analogous
#7F56CA #B956CA #CA56A1
triadic
#B956CA #CAB956 #56CAB9
tetradic
#B956CA #CA7F56 #67CA56 #56A1CA
square
#B956CA #CA7F56 #67CA56 #56A1CA
split-complementary
#B956CA #A1CA56 #56CA7F
monochromatic
#71287E #9B36AD #B956CA #CC85D9 #E0B3E7

Accessibility & contrast

On white

4.00
#B956CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B956CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956CA#FFFFFF#000000##000000
##B956CA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#BB6788
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b956ca;
/* rgb */ color: rgb(185, 86, 202);
/* oklch */ color: oklch(62.1% 0.192 321.6);
Tailwind
colors: {
  custom: {
    50: '#d18bda',
    500: '#b956ca',
    950: '#000000',
  },
}
SCSS
$custom: #b956ca;
$custom-light: #d18bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ca",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 291.207,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.192,
    "h": 321.6
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#B956CA
secondary
#ADD6A6
accent
#DC4C61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B956CA

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

Preview Lab → · Contrast checker → · Palette generator →

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