#9A30C2#9A30C2

#9A30C2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.221 H 314.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9A30C2
RGBrgb(154, 48, 194)
HSLhsl(284, 60%, 47%)
HSVhsv(284, 75%, 76%)
CMYKcmyk(20.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(42.58, 64.05, -55.57)
CIE-LCHlch(42.58, 84.79, 319.05°)
OKLaboklab(53.36% 0.1553 -0.1568)
OKLCHoklch(53.36% 0.221 314.7)
XYZxyz(24.1194, 12.8798, 52.2440)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30C2 #58C230
analogous
#5130C2 #9A30C2 #C230A1
triadic
#9A30C2 #C29A30 #30C29A
tetradic
#9A30C2 #C25130 #58C230 #30A1C2
square
#9A30C2 #C25130 #58C230 #30A1C2
split-complementary
#9A30C2 #A1C230 #30C251
monochromatic
#4C1860 #732491 #9A30C2 #B459D6 #CA8AE2

Accessibility & contrast

On white

5.87
#9A30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9A30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30C2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30C2#FFFFFF#000000##FFFFFF
##9A30C21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#965177
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a30c2;
/* rgb */ color: rgb(154, 48, 194);
/* oklch */ color: oklch(53.4% 0.221 314.7);
Tailwind
colors: {
  custom: {
    50: '#bc74d5',
    500: '#9a30c2',
    950: '#000000',
  },
}
SCSS
$custom: #9a30c2;
$custom-light: #bc74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30c2",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 283.562,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.22068,
    "h": 314.7
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#9A30C2
secondary
#96CC82
accent
#E34470
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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