#B937DA#B937DA

#B937DA is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.8% C 0.245 H 318.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B937DA
RGBrgb(185, 55, 218)
HSLhsl(288, 69%, 54%)
HSVhsv(288, 75%, 85%)
CMYKcmyk(15.1%, 74.8%, 0%, 14.5%)
CIE-LABlab(49.63, 72.14, -57.82)
CIE-LCHlch(49.63, 92.45, 321.29°)
OKLaboklab(59.78% 0.1835 -0.1625)
OKLCHoklch(59.78% 0.245 318.5)
XYZxyz(34.0269, 18.1102, 68.0193)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937DA #58DA37
analogous
#6737DA #B937DA #DA37A9
triadic
#B937DA #DAB937 #37DAB9
tetradic
#B937DA #DA6737 #58DA37 #37A9DA
square
#B937DA #DA6737 #58DA37 #37A9DA
split-complementary
#B937DA #A9DA37 #37DA67
monochromatic
#6A187F #9521B3 #B937DA #CB6BE4 #DD9EED

Accessibility & contrast

On white

4.54
#B937DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B937DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B937DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937DA#FFFFFF#000000##000000
##B937DA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#B85987
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b937da;
/* rgb */ color: rgb(185, 55, 218);
/* oklch */ color: oklch(59.8% 0.245 318.5);
Tailwind
colors: {
  custom: {
    50: '#d27be6',
    500: '#b937da',
    950: '#000000',
  },
}
SCSS
$custom: #b937da;
$custom-light: #d27be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b937da",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 287.853,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.24506,
    "h": 318.5
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#B937DA
secondary
#A2D993
accent
#EC3C60
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B937DA

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

Preview Lab → · Contrast checker → · Palette generator →

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