#9031AF#9031AF

#9031AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.199 H 316.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9031AF
RGBrgb(144, 49, 175)
HSLhsl(285, 56%, 44%)
HSVhsv(285, 72%, 69%)
CMYKcmyk(17.7%, 72%, 0%, 31.4%)
CIE-LABlab(39.95, 57.88, -48.71)
CIE-LCHlch(39.95, 75.65, 319.92°)
OKLaboklab(50.79% 0.1442 -0.137)
OKLCHoklch(50.79% 0.199 316.5)
XYZxyz(20.3366, 11.2219, 41.6439)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031AF #50AF31
analogous
#5131AF #9031AF #AF318F
triadic
#9031AF #AF9031 #31AF90
tetradic
#9031AF #AF5131 #50AF31 #318FAF
square
#9031AF #AF5131 #50AF31 #318FAF
split-complementary
#9031AF #8FAF31 #31AF51
monochromatic
#41164F #69247F #9031AF #AF4FCE #C57FDB

Accessibility & contrast

On white

6.47
#9031AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9031AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031AF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031AF#FFFFFF#000000##FFFFFF
##9031AF1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#8E4B6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9031af;
/* rgb */ color: rgb(144, 49, 175);
/* oklch */ color: oklch(50.8% 0.199 316.5);
Tailwind
colors: {
  custom: {
    50: '#b472c7',
    500: '#9031af',
    950: '#000000',
  },
}
SCSS
$custom: #9031af;
$custom-light: #b472c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9031af",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 285.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.19888,
    "h": 316.5
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#9031AF
secondary
#8AC478
accent
#E0486D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9031AF

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

Preview Lab → · Contrast checker → · Palette generator →

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