#9038BC#9038BC

#9038BC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.4% C 0.203 H 312.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9038BC
RGBrgb(144, 56, 188)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 74%)
CMYKcmyk(23.4%, 70.2%, 0%, 26.3%)
CIE-LABlab(41.83, 57.70, -53.35)
CIE-LCHlch(41.83, 78.58, 317.24°)
OKLaboklab(52.4% 0.1356 -0.1507)
OKLCHoklch(52.4% 0.203 312)
XYZxyz(21.9912, 12.3891, 48.8001)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038BC #64BC38
analogous
#4E38BC #9038BC #BC38A6
triadic
#9038BC #BC9038 #38BC90
tetradic
#9038BC #BC4E38 #64BC38 #38A6BC
square
#9038BC #BC4E38 #64BC38 #38A6BC
split-complementary
#9038BC #A6BC38 #38BC4E
monochromatic
#481C5E #6C2A8D #9038BC #AB61D0 #C490DE

Accessibility & contrast

On white

6.04
#9038BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9038BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038BC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038BC#FFFFFF#000000##FFFFFF
##9038BC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#2964B9
Tritanopia (blue-blind)
#8B5476
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9038bc;
/* rgb */ color: rgb(144, 56, 188);
/* oklch */ color: oklch(52.4% 0.203 312.0);
Tailwind
colors: {
  custom: {
    50: '#b576d1',
    500: '#9038bc',
    950: '#000000',
  },
}
SCSS
$custom: #9038bc;
$custom-light: #b576d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9038bc",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 280,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.20271,
    "h": 312
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#9038BC
secondary
#9DC987
accent
#DD4A7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9038BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9038BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva