#9E30DA#9E30DA

#9E30DA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.6% C 0.243 H 309.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9E30DA
RGBrgb(158, 48, 218)
HSLhsl(279, 70%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(27.5%, 78%, 0%, 14.5%)
CIE-LABlab(44.87, 69.59, -65.71)
CIE-LCHlch(44.87, 95.71, 316.64°)
OKLaboklab(55.62% 0.156 -0.1865)
OKLCHoklch(55.62% 0.243 309.9)
XYZxyz(27.8099, 14.4456, 67.6393)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30DA #6CDA30
analogous
#4930DA #9E30DA #DA30C1
triadic
#9E30DA #DA9E30 #30DA9E
tetradic
#9E30DA #DA4930 #6CDA30 #30C1DA
square
#9E30DA #DA4930 #6CDA30 #30C1DA
split-complementary
#9E30DA #C1DA30 #30DA49
monochromatic
#57167A #7B1FAE #9E30DA #B664E3 #CF98ED

Accessibility & contrast

On white

5.40
#9E30DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9E30DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30DA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30DA#FFFFFF#000000##FFFFFF
##9E30DA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#955B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e30da;
/* rgb */ color: rgb(158, 48, 218);
/* oklch */ color: oklch(55.6% 0.243 309.9);
Tailwind
colors: {
  custom: {
    50: '#c075e6',
    500: '#9e30da',
    950: '#000000',
  },
}
SCSS
$custom: #9e30da;
$custom-light: #c075e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30da",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 218
  },
  "hsl": {
    "h": 278.824,
    "s": 69.672,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.2431,
    "h": 309.9
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#9E30DA
secondary
#A8D88E
accent
#EC3B7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9E30DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9E30DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva