#B936D9#B936D9

#B936D9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.6% C 0.245 H 318.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B936D9
RGBrgb(185, 54, 217)
HSLhsl(288, 68%, 53%)
HSVhsv(288, 75%, 85%)
CMYKcmyk(14.7%, 75.1%, 0%, 14.9%)
CIE-LABlab(49.45, 72.29, -57.53)
CIE-LCHlch(49.45, 92.39, 321.49°)
OKLaboklab(59.63% 0.1844 -0.1616)
OKLCHoklch(59.63% 0.245 318.8)
XYZxyz(33.8494, 17.9640, 67.3166)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B936D9 #56D936
analogous
#6736D9 #B936D9 #D936A7
triadic
#B936D9 #D9B936 #36D9B9
tetradic
#B936D9 #D96736 #56D936 #36A7D9
square
#B936D9 #D96736 #56D936 #36A7D9
split-complementary
#B936D9 #A7D936 #36D967
monochromatic
#69187D #9421B0 #B936D9 #CB69E3 #DD9DEC

Accessibility & contrast

On white

4.57
#B936D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B936D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B936D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B936D9#FFFFFF#000000##000000
##B936D91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#407AD5
Tritanopia (blue-blind)
#B95886
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b936d9;
/* rgb */ color: rgb(185, 54, 217);
/* oklch */ color: oklch(59.6% 0.245 318.8);
Tailwind
colors: {
  custom: {
    50: '#d27be5',
    500: '#b936d9',
    950: '#000000',
  },
}
SCSS
$custom: #b936d9;
$custom-light: #d27be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b936d9",
  "rgb": {
    "r": 185,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 288.221,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.24523,
    "h": 318.8
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#B936D9
secondary
#A0D992
accent
#EB3D5F
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B936D9

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

Preview Lab → · Contrast checker → · Palette generator →

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