#B038AD#B038AD

#B038AD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.203 H 328.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B038AD
RGBrgb(176, 56, 173)
HSLhsl(302, 52%, 45%)
HSVhsv(302, 68%, 69%)
CMYKcmyk(0%, 68.2%, 1.7%, 31%)
CIE-LABlab(45.74, 62.00, -38.00)
CIE-LCHlch(45.74, 72.72, 328.49°)
OKLaboklab(55.88% 0.1742 -0.1049)
OKLCHoklch(55.88% 0.203 328.9)
XYZxyz(26.8612, 15.0775, 41.0225)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038AD #38B03B
analogous
#7738B0 #B038AD #B03871
triadic
#B038AD #ADB038 #38ADB0
tetradic
#B038AD #B07738 #38B03B #3871B0
square
#B038AD #B07738 #38B03B #3871B0
split-complementary
#B038AD #71B038 #38B077
monochromatic
#531A52 #82297F #B038AD #CB5BC8 #D989D7

Accessibility & contrast

On white

5.23
#B038AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B038AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038AD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038AD#FFFFFF#000000##FFFFFF
##B038AD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#B6486E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b038ad;
/* rgb */ color: rgb(176, 56, 173);
/* oklch */ color: oklch(55.9% 0.203 328.9);
Tailwind
colors: {
  custom: {
    50: '#cb79c6',
    500: '#b038ad',
    950: '#000000',
  },
}
SCSS
$custom: #b038ad;
$custom-light: #cb79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b038ad",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 301.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.20333,
    "h": 328.9
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#B038AD
secondary
#80C482
accent
#DB504D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B038AD

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

Preview Lab → · Contrast checker → · Palette generator →

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