#B038CE#B038CE

#B038CE is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.231 H 318.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B038CE
RGBrgb(176, 56, 206)
HSLhsl(288, 60%, 51%)
HSVhsv(288, 73%, 81%)
CMYKcmyk(14.6%, 72.8%, 0%, 19.2%)
CIE-LABlab(47.64, 67.83, -54.20)
CIE-LCHlch(47.64, 86.82, 321.37°)
OKLaboklab(57.86% 0.1732 -0.1522)
OKLCHoklch(57.86% 0.231 318.7)
XYZxyz(30.4577, 16.5161, 59.9641)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038CE #56CE38
analogous
#6538CE #B038CE #CE38A1
triadic
#B038CE #CEB038 #38CEB0
tetradic
#B038CE #CE6538 #56CE38 #38A1CE
square
#B038CE #CE6538 #56CE38 #38A1CE
split-complementary
#B038CE #A1CE38 #38CE65
monochromatic
#5F1C70 #8928A1 #B038CE #C369DA #D79AE6

Accessibility & contrast

On white

4.88
#B038CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B038CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038CE#FFFFFF#000000##FFFFFF
##B038CE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#B05680
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b038ce;
/* rgb */ color: rgb(176, 56, 206);
/* oklch */ color: oklch(57.9% 0.231 318.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ade',
    500: '#b038ce',
    950: '#000000',
  },
}
SCSS
$custom: #b038ce;
$custom-light: #cc7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b038ce",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 288,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.23059,
    "h": 318.7
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#B038CE
secondary
#9DD290
accent
#E44464
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B038CE

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

Preview Lab → · Contrast checker → · Palette generator →

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