#9031C4#9031C4

#9031C4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.218 H 310.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9031C4
RGBrgb(144, 49, 196)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 77%)
CMYKcmyk(26.5%, 75%, 0%, 23.1%)
CIE-LABlab(41.39, 62.20, -58.73)
CIE-LCHlch(41.39, 85.55, 316.64°)
OKLaboklab(52.26% 0.1412 -0.1664)
OKLCHoklch(52.26% 0.218 310.3)
XYZxyz(22.5618, 12.1119, 53.3632)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031C4 #65C431
analogous
#4731C4 #9031C4 #C431AE
triadic
#9031C4 #C49031 #31C490
tetradic
#9031C4 #C44731 #65C431 #31AEC4
square
#9031C4 #C44731 #65C431 #31AEC4
split-complementary
#9031C4 #AEC431 #31C447
monochromatic
#481962 #6C2593 #9031C4 #AB5CD6 #C48DE2

Accessibility & contrast

On white

6.14
#9031C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9031C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031C4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031C4#FFFFFF#000000##FFFFFF
##9031C41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0A63C1
Tritanopia (blue-blind)
#895479
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9031c4;
/* rgb */ color: rgb(144, 49, 196);
/* oklch */ color: oklch(52.3% 0.218 310.3);
Tailwind
colors: {
  custom: {
    50: '#b573d7',
    500: '#9031c4',
    950: '#000000',
  },
}
SCSS
$custom: #9031c4;
$custom-light: #b573d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9031c4",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 278.776,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.21828,
    "h": 310.3
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#9031C4
secondary
#9ECD84
accent
#E3457D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9031C4

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

Preview Lab → · Contrast checker → · Palette generator →

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