#B838CD#B838CD

#B838CD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.233 H 321.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B838CD
RGBrgb(184, 56, 205)
HSLhsl(292, 60%, 51%)
HSVhsv(292, 73%, 80%)
CMYKcmyk(10.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(48.80, 69.27, -51.72)
CIE-LCHlch(48.80, 86.44, 323.25°)
OKLaboklab(58.9% 0.1826 -0.1447)
OKLCHoklch(58.9% 0.233 321.6)
XYZxyz(32.1996, 17.4283, 59.4137)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838CD #4DCD38
analogous
#6D38CD #B838CD #CD3897
triadic
#B838CD #CDB838 #38CDB8
tetradic
#B838CD #CD6D38 #4DCD38 #3897CD
square
#B838CD #CD6D38 #4DCD38 #3897CD
split-complementary
#B838CD #97CD38 #38CD6D
monochromatic
#631C6F #8F28A0 #B838CD #C969D9 #DB9AE6

Accessibility & contrast

On white

4.68
#B838CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B838CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838CD#FFFFFF#000000##FFFFFF
##B838CD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#BA5480
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b838cd;
/* rgb */ color: rgb(184, 56, 205);
/* oklch */ color: oklch(58.9% 0.233 321.6);
Tailwind
colors: {
  custom: {
    50: '#d17bdd',
    500: '#b838cd',
    950: '#000000',
  },
}
SCSS
$custom: #b838cd;
$custom-light: #d17bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b838cd",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 291.544,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.23294,
    "h": 321.6
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#B838CD
secondary
#99D18F
accent
#E3455B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B838CD

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

Preview Lab → · Contrast checker → · Palette generator →

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