#B038BB#B038BB

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

Color values

HEX#B038BB
RGBrgb(176, 56, 187)
HSLhsl(295, 54%, 48%)
HSVhsv(295, 70%, 73%)
CMYKcmyk(5.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(46.51, 64.39, -45.00)
CIE-LCHlch(46.51, 78.56, 325.05°)
OKLaboklab(56.68% 0.1743 -0.1253)
OKLCHoklch(56.68% 0.215 324.3)
XYZxyz(28.2876, 15.6480, 48.5345)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038BB #43BB38
analogous
#6F38BB #B038BB #BB3884
triadic
#B038BB #BBB038 #38BBB0
tetradic
#B038BB #BB6F38 #43BB38 #3884BB
square
#B038BB #BB6F38 #43BB38 #3884BB
split-complementary
#B038BB #84BB38 #38BB6F
monochromatic
#571C5D #842A8C #B038BB #C661D0 #D790DE

Accessibility & contrast

On white

5.09
#B038BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B038BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038BB#FFFFFF#000000##FFFFFF
##B038BB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#B34E76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b038bb;
/* rgb */ color: rgb(176, 56, 187);
/* oklch */ color: oklch(56.7% 0.215 324.3);
Tailwind
colors: {
  custom: {
    50: '#cb79d0',
    500: '#b038bb',
    950: '#000000',
  },
}
SCSS
$custom: #b038bb;
$custom-light: #cb79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b038bb",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 294.962,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.21466,
    "h": 324.3
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#B038BB
secondary
#8CC886
accent
#DD4B57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B038BB

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

Preview Lab → · Contrast checker → · Palette generator →

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