#9031C2#9031C2

#9031C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.216 H 310.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9031C2
RGBrgb(144, 49, 194)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 76%)
CMYKcmyk(25.8%, 74.7%, 0%, 23.9%)
CIE-LABlab(41.25, 61.78, -57.80)
CIE-LCHlch(41.25, 84.60, 316.91°)
OKLaboklab(52.12% 0.1416 -0.1637)
OKLCHoklch(52.12% 0.216 310.9)
XYZxyz(22.3356, 12.0215, 52.1722)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031C2 #63C231
analogous
#4731C2 #9031C2 #C231AC
triadic
#9031C2 #C29031 #31C290
tetradic
#9031C2 #C24731 #63C231 #31ACC2
square
#9031C2 #C24731 #63C231 #31ACC2
split-complementary
#9031C2 #ACC231 #31C247
monochromatic
#471860 #6C2591 #9031C2 #AB5BD6 #C48CE2

Accessibility & contrast

On white

6.17
#9031C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9031C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031C2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031C2#FFFFFF#000000##FFFFFF
##9031C21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1263BF
Tritanopia (blue-blind)
#895378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9031c2;
/* rgb */ color: rgb(144, 49, 194);
/* oklch */ color: oklch(52.1% 0.216 310.9);
Tailwind
colors: {
  custom: {
    50: '#b573d5',
    500: '#9031c2',
    950: '#000000',
  },
}
SCSS
$custom: #9031c2;
$custom-light: #b573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9031c2",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 279.31,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.21642,
    "h": 310.9
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#9031C2
secondary
#9CCC83
accent
#E3457B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9031C2

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

Preview Lab → · Contrast checker → · Palette generator →

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