#9031E2#9031E2

#9031E2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.6% C 0.246 H 303.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9031E2
RGBrgb(144, 49, 226)
HSLhsl(272, 75%, 54%)
HSVhsv(272, 78%, 89%)
CMYKcmyk(36.3%, 78.3%, 0%, 11.4%)
CIE-LABlab(43.68, 68.68, -72.29)
CIE-LCHlch(43.68, 99.72, 313.53°)
OKLaboklab(54.58% 0.1345 -0.2063)
OKLCHoklch(54.58% 0.246 303.1)
XYZxyz(26.3241, 13.6169, 73.1782)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031E2 #83E231
analogous
#3831E2 #9031E2 #E231DC
triadic
#9031E2 #E29031 #31E290
tetradic
#9031E2 #E23831 #83E231 #31DCE2
square
#9031E2 #E23831 #83E231 #31DCE2
split-complementary
#9031E2 #DCE231 #31E238
monochromatic
#511386 #711ABB #9031E2 #AD67EA #CA9CF1

Accessibility & contrast

On white

5.64
#9031E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9031E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031E2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031E2#FFFFFF#000000##FFFFFF
##9031E21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#7F618A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9031e2;
/* rgb */ color: rgb(144, 49, 226);
/* oklch */ color: oklch(54.6% 0.246 303.1);
Tailwind
colors: {
  custom: {
    50: '#b874ec',
    500: '#9031e2',
    950: '#000000',
  },
}
SCSS
$custom: #9031e2;
$custom-light: #b874ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9031e2",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 272.203,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.24626,
    "h": 303.1
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#9031E2
secondary
#B5DD92
accent
#F2368D
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9031E2

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

Preview Lab → · Contrast checker → · Palette generator →

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