#B939CA#B939CA

#B939CA is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.230 H 322.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B939CA
RGBrgb(185, 57, 202)
HSLhsl(293, 58%, 51%)
HSVhsv(293, 72%, 79%)
CMYKcmyk(8.4%, 71.8%, 0%, 20.8%)
CIE-LABlab(48.89, 68.60, -49.82)
CIE-LCHlch(48.89, 84.78, 324.01°)
OKLaboklab(58.94% 0.183 -0.1391)
OKLCHoklch(58.94% 0.23 322.8)
XYZxyz(32.1303, 17.5067, 57.5524)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939CA #4ACA39
analogous
#7139CA #B939CA #CA3992
triadic
#B939CA #CAB939 #39CAB9
tetradic
#B939CA #CA7139 #4ACA39 #3992CA
square
#B939CA #CA7139 #4ACA39 #3992CA
split-complementary
#B939CA #92CA39 #39CA71
monochromatic
#631D6C #8F2A9C #B939CA #CA69D7 #DB9AE4

Accessibility & contrast

On white

4.67
#B939CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B939CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B939CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939CA#FFFFFF#000000##FFFFFF
##B939CA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#BC537E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b939ca;
/* rgb */ color: rgb(185, 57, 202);
/* oklch */ color: oklch(58.9% 0.230 322.8);
Tailwind
colors: {
  custom: {
    50: '#d27bdb',
    500: '#b939ca',
    950: '#000000',
  },
}
SCSS
$custom: #b939ca;
$custom-light: #d27bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b939ca",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 292.966,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.22983,
    "h": 322.8
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#B939CA
secondary
#97D08F
accent
#E14759
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B939CA

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

Preview Lab → · Contrast checker → · Palette generator →

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