#9038AC#9038AC

#9038AC is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.187 H 316.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9038AC
RGBrgb(144, 56, 172)
HSLhsl(286, 51%, 45%)
HSVhsv(286, 67%, 67%)
CMYKcmyk(16.3%, 67.4%, 0%, 32.5%)
CIE-LABlab(40.80, 54.37, -45.57)
CIE-LCHlch(40.80, 70.94, 320.03°)
OKLaboklab(51.33% 0.1369 -0.1279)
OKLCHoklch(51.33% 0.187 316.9)
XYZxyz(20.3611, 11.7370, 40.2147)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038AC #54AC38
analogous
#5638AC #9038AC #AC388E
triadic
#9038AC #AC9038 #38AC90
tetradic
#9038AC #AC5638 #54AC38 #388EAC
square
#9038AC #AC5638 #54AC38 #388EAC
split-complementary
#9038AC #8EAC38 #38AC56
monochromatic
#431A50 #69297E #9038AC #AE58C9 #C487D8

Accessibility & contrast

On white

6.27
#9038AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9038AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038AC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038AC#FFFFFF#000000##FFFFFF
##9038AC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#3A63A9
Tritanopia (blue-blind)
#8F4E6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9038ac;
/* rgb */ color: rgb(144, 56, 172);
/* oklch */ color: oklch(51.3% 0.187 316.9);
Tailwind
colors: {
  custom: {
    50: '#b475c5',
    500: '#9038ac',
    950: '#000000',
  },
}
SCSS
$custom: #9038ac;
$custom-light: #b475c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9038ac",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 285.517,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.18731,
    "h": 316.9
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#9038AC
secondary
#8EC27E
accent
#DA4D6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9038AC

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

Preview Lab → · Contrast checker → · Palette generator →

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