#9038AF#9038AF

#9038AF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 316.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9038AF
RGBrgb(144, 56, 175)
HSLhsl(284, 52%, 45%)
HSVhsv(284, 68%, 69%)
CMYKcmyk(17.7%, 68%, 0%, 31.4%)
CIE-LABlab(40.98, 54.98, -47.05)
CIE-LCHlch(40.98, 72.37, 319.44°)
OKLaboklab(51.52% 0.1367 -0.1322)
OKLCHoklch(51.52% 0.19 316)
XYZxyz(20.6524, 11.8536, 41.7492)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038AF #57AF38
analogous
#5538AF #9038AF #AF3892
triadic
#9038AF #AF9038 #38AF90
tetradic
#9038AF #AF5538 #57AF38 #3892AF
square
#9038AF #AF5538 #57AF38 #3892AF
split-complementary
#9038AF #92AF38 #38AF55
monochromatic
#441A52 #6A2981 #9038AF #AD5ACA #C488D9

Accessibility & contrast

On white

6.23
#9038AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9038AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038AF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038AF#FFFFFF#000000##FFFFFF
##9038AF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#8E4F6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9038af;
/* rgb */ color: rgb(144, 56, 175);
/* oklch */ color: oklch(51.5% 0.190 316.0);
Tailwind
colors: {
  custom: {
    50: '#b476c7',
    500: '#9038af',
    950: '#000000',
  },
}
SCSS
$custom: #9038af;
$custom-light: #b476c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9038af",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 284.37,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.19017,
    "h": 316
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#9038AF
secondary
#91C380
accent
#DB4D72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9038AF

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

Preview Lab → · Contrast checker → · Palette generator →

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