#B038B8#B038B8

#B038B8 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.212 H 325.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B038B8
RGBrgb(176, 56, 184)
HSLhsl(296, 53%, 47%)
HSVhsv(296, 70%, 72%)
CMYKcmyk(4.3%, 69.6%, 0%, 27.8%)
CIE-LABlab(46.34, 63.87, -43.52)
CIE-LCHlch(46.34, 77.29, 325.73°)
OKLaboklab(56.51% 0.1744 -0.121)
OKLCHoklch(56.51% 0.212 325.2)
XYZxyz(27.9698, 15.5209, 46.8607)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038B8 #40B838
analogous
#7038B8 #B038B8 #B83880
triadic
#B038B8 #B8B038 #38B8B0
tetradic
#B038B8 #B87038 #40B838 #3880B8
square
#B038B8 #B87038 #40B838 #3880B8
split-complementary
#B038B8 #80B838 #38B870
monochromatic
#561B5A #832A89 #B038B8 #C75FCE #D88EDD

Accessibility & contrast

On white

5.12
#B038B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B038B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038B8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038B8#FFFFFF#000000##FFFFFF
##B038B81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BC
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#B44D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b038b8;
/* rgb */ color: rgb(176, 56, 184);
/* oklch */ color: oklch(56.5% 0.212 325.2);
Tailwind
colors: {
  custom: {
    50: '#cb79ce',
    500: '#b038b8',
    950: '#000000',
  },
}
SCSS
$custom: #b038b8;
$custom-light: #cb79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b038b8",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 296.25,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.2122,
    "h": 325.2
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#B038B8
secondary
#89C785
accent
#DD4B54
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B038B8

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

Preview Lab → · Contrast checker → · Palette generator →

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