#B838AA#B838AA

#B838AA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.205 H 332.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B838AA
RGBrgb(184, 56, 170)
HSLhsl(307, 53%, 47%)
HSVhsv(307, 70%, 72%)
CMYKcmyk(0%, 69.6%, 7.6%, 27.8%)
CIE-LABlab(46.87, 63.41, -34.36)
CIE-LCHlch(46.87, 72.12, 331.55°)
OKLaboklab(56.9% 0.1825 -0.0942)
OKLCHoklch(56.9% 0.205 332.7)
XYZxyz(28.4371, 15.9233, 39.5982)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838AA #38B846
analogous
#8638B8 #B838AA #B8386A
triadic
#B838AA #AAB838 #38AAB8
tetradic
#B838AA #B88638 #38B846 #386AB8
square
#B838AA #B88638 #38B846 #386AB8
split-complementary
#B838AA #6AB838 #38B886
monochromatic
#5A1B53 #892A7F #B838AA #CE5FC2 #DD8ED4

Accessibility & contrast

On white

5.02
#B838AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B838AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838AA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838AA#FFFFFF#000000##FFFFFF
##B838AA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#C0446D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b838aa;
/* rgb */ color: rgb(184, 56, 170);
/* oklch */ color: oklch(56.9% 0.205 332.7);
Tailwind
colors: {
  custom: {
    50: '#d17ac3',
    500: '#b838aa',
    950: '#000000',
  },
}
SCSS
$custom: #b838aa;
$custom-light: #d17ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b838aa",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 306.563,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.20537,
    "h": 332.7
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#B838AA
secondary
#85C78C
accent
#DD5B4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B838AA

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

Preview Lab → · Contrast checker → · Palette generator →

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