#B038CC#B038CC

#B038CC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.229 H 319.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B038CC
RGBrgb(176, 56, 204)
HSLhsl(289, 59%, 51%)
HSVhsv(289, 73%, 80%)
CMYKcmyk(13.7%, 72.5%, 0%, 20%)
CIE-LABlab(47.52, 67.45, -53.25)
CIE-LCHlch(47.52, 85.94, 321.71°)
OKLaboklab(57.73% 0.1734 -0.1494)
OKLCHoklch(57.73% 0.229 319.3)
XYZxyz(30.2163, 16.4196, 58.6927)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038CC #54CC38
analogous
#6638CC #B038CC #CC389E
triadic
#B038CC #CCB038 #38CCB0
tetradic
#B038CC #CC6638 #54CC38 #389ECC
square
#B038CC #CC6638 #54CC38 #389ECC
split-complementary
#B038CC #9ECC38 #38CC66
monochromatic
#5E1C6E #88299E #B038CC #C369D8 #D799E5

Accessibility & contrast

On white

4.90
#B038CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B038CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038CC#FFFFFF#000000##FFFFFF
##B038CC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#B0557F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b038cc;
/* rgb */ color: rgb(176, 56, 204);
/* oklch */ color: oklch(57.7% 0.229 319.3);
Tailwind
colors: {
  custom: {
    50: '#cc7adc',
    500: '#b038cc',
    950: '#000000',
  },
}
SCSS
$custom: #b038cc;
$custom-light: #cc7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b038cc",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 288.649,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.22889,
    "h": 319.3
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#B038CC
secondary
#9CD18F
accent
#E24563
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B038CC

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

Preview Lab → · Contrast checker → · Palette generator →

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