#9038AD#9038AD

#9038AD is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.188 H 316.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9038AD
RGBrgb(144, 56, 173)
HSLhsl(285, 51%, 45%)
HSVhsv(285, 68%, 68%)
CMYKcmyk(16.8%, 67.6%, 0%, 32.2%)
CIE-LABlab(40.86, 54.57, -46.07)
CIE-LCHlch(40.86, 71.42, 319.83°)
OKLaboklab(51.39% 0.1368 -0.1293)
OKLCHoklch(51.39% 0.188 316.6)
XYZxyz(20.4575, 11.7756, 40.7224)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038AD #55AD38
analogous
#5538AD #9038AD #AD3890
triadic
#9038AD #AD9038 #38AD90
tetradic
#9038AD #AD5538 #55AD38 #3890AD
square
#9038AD #AD5538 #55AD38 #3890AD
split-complementary
#9038AD #90AD38 #38AD55
monochromatic
#431A51 #6A297F #9038AD #AD59C9 #C487D8

Accessibility & contrast

On white

6.26
#9038AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9038AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038AD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038AD#FFFFFF#000000##FFFFFF
##9038AD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#8E4E6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9038ad;
/* rgb */ color: rgb(144, 56, 173);
/* oklch */ color: oklch(51.4% 0.188 316.6);
Tailwind
colors: {
  custom: {
    50: '#b475c6',
    500: '#9038ad',
    950: '#000000',
  },
}
SCSS
$custom: #9038ad;
$custom-light: #b475c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9038ad",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 285.128,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.18826,
    "h": 316.6
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#9038AD
secondary
#8FC27F
accent
#DB4D70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9038AD

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

Preview Lab → · Contrast checker → · Palette generator →

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