#B038C3#B038C3

#B038C3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.221 H 321.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B038C3
RGBrgb(176, 56, 195)
HSLhsl(292, 55%, 49%)
HSVhsv(292, 71%, 76%)
CMYKcmyk(9.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(46.97, 65.81, -48.92)
CIE-LCHlch(46.97, 82.00, 323.38°)
OKLaboklab(57.17% 0.174 -0.1367)
OKLCHoklch(57.17% 0.221 321.8)
XYZxyz(29.1679, 16.0002, 53.1712)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B038C3 #4BC338
analogous
#6B38C3 #B038C3 #C33890
triadic
#B038C3 #C3B038 #38C3B0
tetradic
#B038C3 #C36B38 #4BC338 #3890C3
square
#B038C3 #C36B38 #4BC338 #3890C3
split-complementary
#B038C3 #90C338 #38C36B
monochromatic
#5A1D64 #852A93 #B038C3 #C465D3 #D695E1

Accessibility & contrast

On white

5.00
#B038C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B038C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B038C3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B038C3#FFFFFF#000000##FFFFFF
##B038C31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#4A74C0
Tritanopia (blue-blind)
#B2517A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b038c3;
/* rgb */ color: rgb(176, 56, 195);
/* oklch */ color: oklch(57.2% 0.221 321.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ad6',
    500: '#b038c3',
    950: '#000000',
  },
}
SCSS
$custom: #b038c3;
$custom-light: #cb7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b038c3",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 291.799,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.22131,
    "h": 321.8
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#B038C3
secondary
#94CC8B
accent
#DF495E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B038C3

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

Preview Lab → · Contrast checker → · Palette generator →

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