#9A30C7#9A30C7

#9A30C7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.225 H 313.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9A30C7
RGBrgb(154, 48, 199)
HSLhsl(282, 61%, 48%)
HSVhsv(282, 76%, 78%)
CMYKcmyk(22.6%, 75.9%, 0%, 22%)
CIE-LABlab(42.93, 65.04, -57.93)
CIE-LCHlch(42.93, 87.10, 318.31°)
OKLaboklab(53.71% 0.1545 -0.1637)
OKLCHoklch(53.71% 0.225 313.3)
XYZxyz(24.6904, 13.1082, 55.2513)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30C7 #5DC730
analogous
#4E30C7 #9A30C7 #C730A8
triadic
#9A30C7 #C79A30 #30C79A
tetradic
#9A30C7 #C74E30 #5DC730 #30A8C7
square
#9A30C7 #C74E30 #5DC730 #30A8C7
split-complementary
#9A30C7 #A8C730 #30C74E
monochromatic
#4E1864 #742496 #9A30C7 #B35CD8 #CA8EE4

Accessibility & contrast

On white

5.80
#9A30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9A30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30C7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30C7#FFFFFF#000000##FFFFFF
##9A30C71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#1F68C4
Tritanopia (blue-blind)
#95537A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a30c7;
/* rgb */ color: rgb(154, 48, 199);
/* oklch */ color: oklch(53.7% 0.225 313.3);
Tailwind
colors: {
  custom: {
    50: '#bc74d9',
    500: '#9a30c7',
    950: '#000000',
  },
}
SCSS
$custom: #9a30c7;
$custom-light: #bc74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30c7",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 282.119,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.2251,
    "h": 313.3
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#9A30C7
secondary
#9BCE85
accent
#E44473
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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