#B838AE#B838AE

#B838AE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.208 H 331.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B838AE
RGBrgb(184, 56, 174)
HSLhsl(305, 53%, 47%)
HSVhsv(305, 70%, 72%)
CMYKcmyk(0%, 69.6%, 5.4%, 27.8%)
CIE-LABlab(47.08, 64.04, -36.40)
CIE-LCHlch(47.08, 73.66, 330.39°)
OKLaboklab(57.11% 0.1828 -0.1001)
OKLCHoklch(57.11% 0.208 331.3)
XYZxyz(28.8213, 16.0769, 41.6214)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838AE #38B842
analogous
#8238B8 #B838AE #B8386E
triadic
#B838AE #AEB838 #38AEB8
tetradic
#B838AE #B88238 #38B842 #386EB8
square
#B838AE #B88238 #38B842 #386EB8
split-complementary
#B838AE #6EB838 #38B882
monochromatic
#5A1B55 #892A82 #B838AE #CE5FC6 #DD8ED6

Accessibility & contrast

On white

4.98
#B838AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B838AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838AE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838AE#FFFFFF#000000##FFFFFF
##B838AE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#BF466F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b838ae;
/* rgb */ color: rgb(184, 56, 174);
/* oklch */ color: oklch(57.1% 0.208 331.3);
Tailwind
colors: {
  custom: {
    50: '#d17ac6',
    500: '#b838ae',
    950: '#000000',
  },
}
SCSS
$custom: #b838ae;
$custom-light: #d17ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b838ae",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 304.688,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.20838,
    "h": 331.3
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#B838AE
secondary
#85C78A
accent
#DD564B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B838AE

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

Preview Lab → · Contrast checker → · Palette generator →

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