#B838C3#B838C3

#B838C3 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.225 H 324.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B838C3
RGBrgb(184, 56, 195)
HSLhsl(295, 55%, 49%)
HSVhsv(295, 71%, 76%)
CMYKcmyk(5.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(48.21, 67.52, -46.87)
CIE-LCHlch(48.21, 82.19, 325.23°)
OKLaboklab(58.29% 0.1831 -0.1305)
OKLCHoklch(58.29% 0.225 324.5)
XYZxyz(31.0309, 16.9608, 53.2585)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838C3 #43C338
analogous
#7338C3 #B838C3 #C33889
triadic
#B838C3 #C3B838 #38C3B8
tetradic
#B838C3 #C37338 #43C338 #3889C3
square
#B838C3 #C37338 #43C338 #3889C3
split-complementary
#B838C3 #89C338 #38C373
monochromatic
#5E1D64 #8B2A93 #B838C3 #CA65D3 #DB95E1

Accessibility & contrast

On white

4.78
#B838C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B838C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838C3#FFFFFF#000000##FFFFFF
##B838C31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0969C7
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#BC507A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b838c3;
/* rgb */ color: rgb(184, 56, 195);
/* oklch */ color: oklch(58.3% 0.225 324.5);
Tailwind
colors: {
  custom: {
    50: '#d17bd6',
    500: '#b838c3',
    950: '#000000',
  },
}
SCSS
$custom: #b838c3;
$custom-light: #d17bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b838c3",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 295.252,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.22482,
    "h": 324.5
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#B838C3
secondary
#90CC8B
accent
#DF4955
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B838C3

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

Preview Lab → · Contrast checker → · Palette generator →

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