#B839CA#B839CA

#B839CA is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.229 H 322.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B839CA
RGBrgb(184, 57, 202)
HSLhsl(293, 58%, 51%)
HSVhsv(293, 72%, 79%)
CMYKcmyk(8.9%, 71.8%, 0%, 20.8%)
CIE-LABlab(48.74, 68.39, -50.08)
CIE-LCHlch(48.74, 84.77, 323.79°)
OKLaboklab(58.8% 0.1818 -0.1399)
OKLCHoklch(58.8% 0.229 322.4)
XYZxyz(31.8899, 17.3827, 57.5411)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839CA #4BCA39
analogous
#6F39CA #B839CA #CA3993
triadic
#B839CA #CAB839 #39CAB8
tetradic
#B839CA #CA6F39 #4BCA39 #3993CA
square
#B839CA #CA6F39 #4BCA39 #3993CA
split-complementary
#B839CA #93CA39 #39CA6F
monochromatic
#621D6C #8E2A9C #B839CA #C969D7 #DB9AE4

Accessibility & contrast

On white

4.69
#B839CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B839CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839CA#FFFFFF#000000##FFFFFF
##B839CA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b839ca;
/* rgb */ color: rgb(184, 57, 202);
/* oklch */ color: oklch(58.8% 0.229 322.4);
Tailwind
colors: {
  custom: {
    50: '#d17bdb',
    500: '#b839ca',
    950: '#000000',
  },
}
SCSS
$custom: #b839ca;
$custom-light: #d17bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b839ca",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 292.552,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.2294,
    "h": 322.4
  },
  "luminance": 0.17381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B839CA

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

Preview Lab → · Contrast checker → · Palette generator →

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