#9031C5#9031C5

#9031C5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.219 H 310.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9031C5
RGBrgb(144, 49, 197)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 77%)
CMYKcmyk(26.9%, 75.1%, 0%, 22.7%)
CIE-LABlab(41.47, 62.41, -59.20)
CIE-LCHlch(41.47, 86.02, 316.51°)
OKLaboklab(52.34% 0.141 -0.1678)
OKLCHoklch(52.34% 0.219 310)
XYZxyz(22.6760, 12.1576, 53.9646)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031C5 #66C531
analogous
#4631C5 #9031C5 #C531B0
triadic
#9031C5 #C59031 #31C590
tetradic
#9031C5 #C54631 #66C531 #31B0C5
square
#9031C5 #C54631 #66C531 #31B0C5
split-complementary
#9031C5 #B0C531 #31C546
monochromatic
#481963 #6C2594 #9031C5 #AB5DD7 #C48EE3

Accessibility & contrast

On white

6.12
#9031C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9031C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031C5#FFFFFF#000000##FFFFFF
##9031C51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#885479
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9031c5;
/* rgb */ color: rgb(144, 49, 197);
/* oklch */ color: oklch(52.3% 0.219 310.0);
Tailwind
colors: {
  custom: {
    50: '#b573d7',
    500: '#9031c5',
    950: '#000000',
  },
}
SCSS
$custom: #9031c5;
$custom-light: #b573d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9031c5",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 278.514,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.21921,
    "h": 310
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#9031C5
secondary
#9FCD85
accent
#E3447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9031C5

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

Preview Lab → · Contrast checker → · Palette generator →

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