#B038AE#B038AE

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

Color values

HEX#B038AE
RGBrgb(176, 56, 174)
HSLhsl(301, 52%, 45%)
HSVhsv(301, 68%, 69%)
CMYKcmyk(0%, 68.2%, 1.1%, 31%)
CIE-LABlab(45.79, 62.16, -38.51)
CIE-LCHlch(45.79, 73.13, 328.22°)
OKLaboklab(55.94% 0.1742 -0.1064)
OKLCHoklch(55.94% 0.204 328.6)
XYZxyz(26.9584, 15.1164, 41.5340)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038AE #38B03A
analogous
#7638B0 #B038AE #B03872
triadic
#B038AE #AEB038 #38AEB0
tetradic
#B038AE #B07638 #38B03A #3872B0
square
#B038AE #B07638 #38B03A #3872B0
split-complementary
#B038AE #72B038 #38B076
monochromatic
#531A52 #822980 #B038AE #CB5BC9 #D989D8

Accessibility & contrast

On white

5.22
#B038AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B038AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038AE#FFFFFF#000000##FFFFFF
##B038AE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#B6486F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b038ae;
/* rgb */ color: rgb(176, 56, 174);
/* oklch */ color: oklch(55.9% 0.204 328.6);
Tailwind
colors: {
  custom: {
    50: '#cb79c6',
    500: '#b038ae',
    950: '#000000',
  },
}
SCSS
$custom: #b038ae;
$custom-light: #cb79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b038ae",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 301,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.20413,
    "h": 328.6
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#B038AE
secondary
#80C481
accent
#DB4F4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B038AE

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

Preview Lab → · Contrast checker → · Palette generator →

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