#9031DB#9031DB

#9031DB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.0% C 0.240 H 304.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9031DB
RGBrgb(144, 49, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 78%, 86%)
CMYKcmyk(34.2%, 77.6%, 0%, 14.1%)
CIE-LABlab(43.12, 67.15, -69.20)
CIE-LCHlch(43.12, 96.42, 314.14°)
OKLaboklab(54.02% 0.1363 -0.1972)
OKLCHoklch(54.02% 0.24 304.6)
XYZxyz(25.3832, 13.2405, 68.2225)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031DB #7CDB31
analogous
#3B31DB #9031DB #DB31D1
triadic
#9031DB #DB9031 #31DB90
tetradic
#9031DB #DB3B31 #7CDB31 #31D1DB
square
#9031DB #DB3B31 #7CDB31 #31D1DB
split-complementary
#9031DB #D1DB31 #31DB3B
monochromatic
#4F167C #701FB0 #9031DB #AC65E4 #C899ED

Accessibility & contrast

On white

5.76
#9031DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9031DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031DB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031DB#FFFFFF#000000##FFFFFF
##9031DB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#815E86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9031db;
/* rgb */ color: rgb(144, 49, 219);
/* oklch */ color: oklch(54.0% 0.240 304.6);
Tailwind
colors: {
  custom: {
    50: '#b774e7',
    500: '#9031db',
    950: '#000000',
  },
}
SCSS
$custom: #9031db;
$custom-light: #b774e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9031db",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 219
  },
  "hsl": {
    "h": 273.529,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.23972,
    "h": 304.6
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#9031DB
secondary
#B0D98F
accent
#ED3B89
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9031DB

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

Preview Lab → · Contrast checker → · Palette generator →

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