#9038B8#9038B8

#9038B8 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.199 H 313.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9038B8
RGBrgb(144, 56, 184)
HSLhsl(281, 53%, 47%)
HSVhsv(281, 70%, 72%)
CMYKcmyk(21.7%, 69.6%, 0%, 27.8%)
CIE-LABlab(41.56, 56.85, -51.43)
CIE-LCHlch(41.56, 76.66, 317.86°)
OKLaboklab(52.12% 0.136 -0.1451)
OKLCHoklch(52.12% 0.199 313.2)
XYZxyz(21.5660, 12.2190, 46.5606)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038B8 #60B838
analogous
#5038B8 #9038B8 #B838A0
triadic
#9038B8 #B89038 #38B890
tetradic
#9038B8 #B85038 #60B838 #38A0B8
square
#9038B8 #B85038 #60B838 #38A0B8
split-complementary
#9038B8 #A0B838 #38B850
monochromatic
#471B5A #6B2A89 #9038B8 #AB5FCE #C48EDD

Accessibility & contrast

On white

6.10
#9038B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9038B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038B8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038B8#FFFFFF#000000##FFFFFF
##9038B81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#8C5374
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9038b8;
/* rgb */ color: rgb(144, 56, 184);
/* oklch */ color: oklch(52.1% 0.199 313.2);
Tailwind
colors: {
  custom: {
    50: '#b476ce',
    500: '#9038b8',
    950: '#000000',
  },
}
SCSS
$custom: #9038b8;
$custom-light: #b476ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9038b8",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 281.25,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.19884,
    "h": 313.2
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#9038B8
secondary
#99C785
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9038B8

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

Preview Lab → · Contrast checker → · Palette generator →

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