#B038C1#B038C1

#B038C1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.220 H 322.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B038C1
RGBrgb(176, 56, 193)
HSLhsl(293, 55%, 49%)
HSVhsv(293, 71%, 76%)
CMYKcmyk(8.8%, 71%, 0%, 24.3%)
CIE-LABlab(46.86, 65.45, -47.95)
CIE-LCHlch(46.86, 81.14, 323.78°)
OKLaboklab(57.04% 0.1741 -0.1339)
OKLCHoklch(57.04% 0.22 322.4)
XYZxyz(28.9433, 15.9104, 51.9882)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038C1 #49C138
analogous
#6C38C1 #B038C1 #C1388E
triadic
#B038C1 #C1B038 #38C1B0
tetradic
#B038C1 #C16C38 #49C138 #388EC1
square
#B038C1 #C16C38 #49C138 #388EC1
split-complementary
#B038C1 #8EC138 #38C16C
monochromatic
#591C62 #852A92 #B038C1 #C464D2 #D694E0

Accessibility & contrast

On white

5.02
#B038C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B038C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038C1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038C1#FFFFFF#000000##FFFFFF
##B038C11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#B25179
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b038c1;
/* rgb */ color: rgb(176, 56, 193);
/* oklch */ color: oklch(57.0% 0.220 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ad4',
    500: '#b038c1',
    950: '#000000',
  },
}
SCSS
$custom: #b038c1;
$custom-light: #cb7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b038c1",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 292.555,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.21963,
    "h": 322.4
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#B038C1
secondary
#92CB8A
accent
#DE495C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B038C1

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

Preview Lab → · Contrast checker → · Palette generator →

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