#B038CB#B038CB

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

Color values

HEX#B038CB
RGBrgb(176, 56, 203)
HSLhsl(289, 59%, 51%)
HSVhsv(289, 72%, 80%)
CMYKcmyk(13.3%, 72.4%, 0%, 20.4%)
CIE-LABlab(47.46, 67.27, -52.77)
CIE-LCHlch(47.46, 85.50, 321.89°)
OKLaboklab(57.67% 0.1735 -0.148)
OKLCHoklch(57.67% 0.228 319.5)
XYZxyz(30.0968, 16.3717, 58.0631)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038CB #53CB38
analogous
#6638CB #B038CB #CB389C
triadic
#B038CB #CBB038 #38CBB0
tetradic
#B038CB #CB6638 #53CB38 #389CCB
square
#B038CB #CB6638 #53CB38 #389CCB
split-complementary
#B038CB #9CCB38 #38CB66
monochromatic
#5E1C6C #88299D #B038CB #C369D8 #D799E4

Accessibility & contrast

On white

4.91
#B038CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B038CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038CB#FFFFFF#000000##FFFFFF
##B038CB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#B0557F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b038cb;
/* rgb */ color: rgb(176, 56, 203);
/* oklch */ color: oklch(57.7% 0.228 319.5);
Tailwind
colors: {
  custom: {
    50: '#cc7adb',
    500: '#b038cb',
    950: '#000000',
  },
}
SCSS
$custom: #b038cb;
$custom-light: #cc7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b038cb",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 288.98,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.22804,
    "h": 319.5
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#B038CB
secondary
#9BD08F
accent
#E24663
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B038CB

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

Preview Lab → · Contrast checker → · Palette generator →

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