#9038B9#9038B9

#9038B9 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.200 H 312.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9038B9
RGBrgb(144, 56, 185)
HSLhsl(281, 54%, 47%)
HSVhsv(281, 70%, 73%)
CMYKcmyk(22.2%, 69.7%, 0%, 27.5%)
CIE-LABlab(41.63, 57.06, -51.91)
CIE-LCHlch(41.63, 77.14, 317.70°)
OKLaboklab(52.19% 0.1359 -0.1465)
OKLCHoklch(52.19% 0.2 312.9)
XYZxyz(21.6712, 12.2611, 47.1146)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038B9 #61B938
analogous
#4F38B9 #9038B9 #B938A2
triadic
#9038B9 #B99038 #38B990
tetradic
#9038B9 #B94F38 #61B938 #38A2B9
square
#9038B9 #B94F38 #61B938 #38A2B9
split-complementary
#9038B9 #A2B938 #38B94F
monochromatic
#471C5B #6B2A8A #9038B9 #AB5FCF #C48EDD

Accessibility & contrast

On white

6.08
#9038B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9038B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038B9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038B9#FFFFFF#000000##FFFFFF
##9038B91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9038b9;
/* rgb */ color: rgb(144, 56, 185);
/* oklch */ color: oklch(52.2% 0.200 312.9);
Tailwind
colors: {
  custom: {
    50: '#b476cf',
    500: '#9038b9',
    950: '#000000',
  },
}
SCSS
$custom: #9038b9;
$custom-light: #b476cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9038b9",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 280.93,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.19981,
    "h": 312.9
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#9038B9
secondary
#9AC885
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9038B9

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

Preview Lab → · Contrast checker → · Palette generator →

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