#9031D1#9031D1

#9031D1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.2% C 0.230 H 307.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9031D1
RGBrgb(144, 49, 209)
HSLhsl(276, 63%, 51%)
HSVhsv(276, 77%, 82%)
CMYKcmyk(31.1%, 76.6%, 0%, 18%)
CIE-LABlab(42.35, 64.97, -64.71)
CIE-LCHlch(42.35, 91.70, 315.12°)
OKLaboklab(53.24% 0.1386 -0.184)
OKLCHoklch(53.24% 0.23 307)
XYZxyz(24.1061, 12.7297, 61.4964)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031D1 #72D131
analogous
#4031D1 #9031D1 #D131C2
triadic
#9031D1 #D19031 #31D190
tetradic
#9031D1 #D14031 #72D131 #31C2D1
square
#9031D1 #D14031 #72D131 #31C2D1
split-complementary
#9031D1 #C2D131 #31D140
monochromatic
#4C196F #6E24A1 #9031D1 #AB63DC #C695E7

Accessibility & contrast

On white

5.92
#9031D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9031D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031D1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031D1#FFFFFF#000000##FFFFFF
##9031D11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#855980
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9031d1;
/* rgb */ color: rgb(144, 49, 209);
/* oklch */ color: oklch(53.2% 0.230 307.0);
Tailwind
colors: {
  custom: {
    50: '#b673e0',
    500: '#9031d1',
    950: '#000000',
  },
}
SCSS
$custom: #9031d1;
$custom-light: #b673e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9031d1",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 209
  },
  "hsl": {
    "h": 275.625,
    "s": 63.492,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.23039,
    "h": 307
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#9031D1
secondary
#A8D28B
accent
#E74184
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9031D1

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

Preview Lab → · Contrast checker → · Palette generator →

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