#B038BC#B038BC

#B038BC is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.215 H 324.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B038BC
RGBrgb(176, 56, 188)
HSLhsl(295, 54%, 48%)
HSVhsv(295, 70%, 74%)
CMYKcmyk(6.4%, 70.2%, 0%, 26.3%)
CIE-LABlab(46.57, 64.57, -45.50)
CIE-LCHlch(46.57, 78.99, 324.83°)
OKLaboklab(56.74% 0.1743 -0.1267)
OKLCHoklch(56.74% 0.215 324)
XYZxyz(28.3950, 15.6910, 49.1003)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038BC #44BC38
analogous
#6E38BC #B038BC #BC3886
triadic
#B038BC #BCB038 #38BCB0
tetradic
#B038BC #BC6E38 #44BC38 #3886BC
square
#B038BC #BC6E38 #44BC38 #3886BC
split-complementary
#B038BC #86BC38 #38BC6E
monochromatic
#581C5E #842A8D #B038BC #C661D0 #D790DE

Accessibility & contrast

On white

5.08
#B038BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B038BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038BC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038BC#FFFFFF#000000##FFFFFF
##B038BC1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#B34E76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b038bc;
/* rgb */ color: rgb(176, 56, 188);
/* oklch */ color: oklch(56.7% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#cb79d1',
    500: '#b038bc',
    950: '#000000',
  },
}
SCSS
$custom: #b038bc;
$custom-light: #cb79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b038bc",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 294.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.21549,
    "h": 324
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#B038BC
secondary
#8DC987
accent
#DD4A58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B038BC

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

Preview Lab → · Contrast checker → · Palette generator →

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