#B038B9#B038B9

#B038B9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.213 H 324.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B038B9
RGBrgb(176, 56, 185)
HSLhsl(296, 54%, 47%)
HSVhsv(296, 70%, 73%)
CMYKcmyk(4.9%, 69.7%, 0%, 27.5%)
CIE-LABlab(46.40, 64.04, -44.01)
CIE-LCHlch(46.40, 77.71, 325.50°)
OKLaboklab(56.57% 0.1743 -0.1224)
OKLCHoklch(56.57% 0.213 324.9)
XYZxyz(28.0749, 15.5630, 47.4147)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038B9 #41B938
analogous
#7038B9 #B038B9 #B93882
triadic
#B038B9 #B9B038 #38B9B0
tetradic
#B038B9 #B97038 #41B938 #3882B9
square
#B038B9 #B97038 #41B938 #3882B9
split-complementary
#B038B9 #82B938 #38B970
monochromatic
#571C5B #832A8A #B038B9 #C75FCF #D78EDD

Accessibility & contrast

On white

5.11
#B038B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B038B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038B9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038B9#FFFFFF#000000##FFFFFF
##B038B91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#B44D75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b038b9;
/* rgb */ color: rgb(176, 56, 185);
/* oklch */ color: oklch(56.6% 0.213 324.9);
Tailwind
colors: {
  custom: {
    50: '#cb79ce',
    500: '#b038b9',
    950: '#000000',
  },
}
SCSS
$custom: #b038b9;
$custom-light: #cb79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b038b9",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 295.814,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.21302,
    "h": 324.9
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#B038B9
secondary
#8AC885
accent
#DD4B55
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B038B9

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

Preview Lab → · Contrast checker → · Palette generator →

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