#B038C5#B038C5

#B038C5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.223 H 321.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B038C5
RGBrgb(176, 56, 197)
HSLhsl(291, 56%, 50%)
HSVhsv(291, 72%, 77%)
CMYKcmyk(10.7%, 71.6%, 0%, 22.7%)
CIE-LABlab(47.09, 66.17, -49.89)
CIE-LCHlch(47.09, 82.87, 322.99°)
OKLaboklab(57.29% 0.1739 -0.1395)
OKLCHoklch(57.29% 0.223 321.3)
XYZxyz(29.3956, 16.0913, 54.3701)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038C5 #4DC538
analogous
#6A38C5 #B038C5 #C53893
triadic
#B038C5 #C5B038 #38C5B0
tetradic
#B038C5 #C56A38 #4DC538 #3893C5
square
#B038C5 #C56A38 #4DC538 #3893C5
split-complementary
#B038C5 #93C538 #38C56A
monochromatic
#5B1D66 #852A95 #B038C5 #C367D4 #D696E1

Accessibility & contrast

On white

4.98
#B038C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B038C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038C5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038C5#FFFFFF#000000##FFFFFF
##B038C51.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#4974C2
Tritanopia (blue-blind)
#B1527B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b038c5;
/* rgb */ color: rgb(176, 56, 197);
/* oklch */ color: oklch(57.3% 0.223 321.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ad7',
    500: '#b038c5',
    950: '#000000',
  },
}
SCSS
$custom: #b038c5;
$custom-light: #cb7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b038c5",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 291.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5729,
    "c": 0.22298,
    "h": 321.3
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#B038C5
secondary
#96CD8C
accent
#DF495F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B038C5

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

Preview Lab → · Contrast checker → · Palette generator →

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