#B937CA#B937CA

#B937CA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.232 H 322.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B937CA
RGBrgb(185, 55, 202)
HSLhsl(293, 58%, 50%)
HSVhsv(293, 73%, 79%)
CMYKcmyk(8.4%, 72.8%, 0%, 20.8%)
CIE-LABlab(48.65, 69.28, -50.21)
CIE-LCHlch(48.65, 85.56, 324.07°)
OKLaboklab(58.77% 0.1848 -0.1402)
OKLCHoklch(58.77% 0.232 322.8)
XYZxyz(32.0334, 17.3128, 57.5201)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937CA #48CA37
analogous
#6F37CA #B937CA #CA3792
triadic
#B937CA #CAB937 #37CAB9
tetradic
#B937CA #CA6F37 #48CA37 #3792CA
square
#B937CA #CA6F37 #48CA37 #3792CA
split-complementary
#B937CA #92CA37 #37CA6F
monochromatic
#611C6A #8E299B #B937CA #CA67D7 #DB98E4

Accessibility & contrast

On white

4.71
#B937CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B937CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937CA#FFFFFF#000000##FFFFFF
##B937CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#BC527E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b937ca;
/* rgb */ color: rgb(185, 55, 202);
/* oklch */ color: oklch(58.8% 0.232 322.8);
Tailwind
colors: {
  custom: {
    50: '#d27bdb',
    500: '#b937ca',
    950: '#000000',
  },
}
SCSS
$custom: #b937ca;
$custom-light: #d27bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b937ca",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 293.061,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.23198,
    "h": 322.8
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#B937CA
secondary
#95CF8E
accent
#E14658
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B937CA

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

Preview Lab → · Contrast checker → · Palette generator →

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