#9031C7#9031C7

#9031C7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.221 H 309.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9031C7
RGBrgb(144, 49, 199)
HSLhsl(278, 60%, 49%)
HSVhsv(278, 75%, 78%)
CMYKcmyk(27.6%, 75.4%, 0%, 22%)
CIE-LABlab(41.61, 62.83, -60.13)
CIE-LCHlch(41.61, 86.97, 316.26°)
OKLaboklab(52.49% 0.1407 -0.1705)
OKLCHoklch(52.49% 0.221 309.5)
XYZxyz(22.9066, 12.2499, 55.1795)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031C7 #68C731
analogous
#4531C7 #9031C7 #C731B3
triadic
#9031C7 #C79031 #31C790
tetradic
#9031C7 #C74531 #68C731 #31B3C7
square
#9031C7 #C74531 #68C731 #31B3C7
split-complementary
#9031C7 #B3C731 #31C745
monochromatic
#491965 #6C2596 #9031C7 #AB5ED7 #C48FE3

Accessibility & contrast

On white

6.09
#9031C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9031C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031C7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031C7#FFFFFF#000000##FFFFFF
##9031C71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#88557A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9031c7;
/* rgb */ color: rgb(144, 49, 199);
/* oklch */ color: oklch(52.5% 0.221 309.5);
Tailwind
colors: {
  custom: {
    50: '#b673d9',
    500: '#9031c7',
    950: '#000000',
  },
}
SCSS
$custom: #9031c7;
$custom-light: #b673d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9031c7",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 278,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.22107,
    "h": 309.5
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#9031C7
secondary
#A0CE86
accent
#E4447F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9031C7

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

Preview Lab → · Contrast checker → · Palette generator →

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