#B839F2#B839F2

#B839F2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.4% C 0.263 H 312.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B839F2
RGBrgb(184, 57, 242)
HSLhsl(281, 88%, 59%)
HSVhsv(281, 76%, 95%)
CMYKcmyk(24%, 76.4%, 0%, 5.1%)
CIE-LABlab(51.30, 75.83, -68.69)
CIE-LCHlch(51.30, 102.32, 317.83°)
OKLaboklab(61.43% 0.177 -0.1945)
OKLCHoklch(61.43% 0.263 312.3)
XYZxyz(37.2544, 19.5285, 85.7941)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839F2 #73F239
analogous
#5B39F2 #B839F2 #F239D0
triadic
#B839F2 #F2B839 #39F2B8
tetradic
#B839F2 #F25B39 #73F239 #39D0F2
square
#B839F2 #F25B39 #73F239 #39D0F2
split-complementary
#B839F2 #D0F239 #39F25B
monochromatic
#750BA6 #9E0FDF #B839F2 #CD72F6 #E1ACFA

Accessibility & contrast

On white

4.28
#B839F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B839F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B839F2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839F2#FFFFFF#000000##000000
##B839F21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#187DEE
Tritanopia (blue-blind)
#B16695
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b839f2;
/* rgb */ color: rgb(184, 57, 242);
/* oklch */ color: oklch(61.4% 0.263 312.3);
Tailwind
colors: {
  custom: {
    50: '#d37df7',
    500: '#b839f2',
    950: '#000000',
  },
}
SCSS
$custom: #b839f2;
$custom-light: #d37df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b839f2",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 281.189,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.26295,
    "h": 312.3
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#B839F2
secondary
#B6E89F
accent
#FE2A6C
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #B839F2

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

Preview Lab → · Contrast checker → · Palette generator →

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