#9A30C4#9A30C4

#9A30C4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.222 H 314.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9A30C4
RGBrgb(154, 48, 196)
HSLhsl(283, 61%, 48%)
HSVhsv(283, 76%, 77%)
CMYKcmyk(21.4%, 75.5%, 0%, 23.1%)
CIE-LABlab(42.72, 64.44, -56.52)
CIE-LCHlch(42.72, 85.71, 318.75°)
OKLaboklab(53.5% 0.155 -0.1596)
OKLCHoklch(53.5% 0.222 314.2)
XYZxyz(24.3455, 12.9703, 53.4349)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30C4 #5AC430
analogous
#5030C4 #9A30C4 #C430A4
triadic
#9A30C4 #C49A30 #30C49A
tetradic
#9A30C4 #C45030 #5AC430 #30A4C4
square
#9A30C4 #C45030 #5AC430 #30A4C4
split-complementary
#9A30C4 #A4C430 #30C450
monochromatic
#4D1862 #732493 #9A30C4 #B35AD7 #CA8CE3

Accessibility & contrast

On white

5.84
#9A30C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9A30C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30C4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30C4#FFFFFF#000000##FFFFFF
##9A30C41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2567C1
Tritanopia (blue-blind)
#965279
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a30c4;
/* rgb */ color: rgb(154, 48, 196);
/* oklch */ color: oklch(53.5% 0.222 314.2);
Tailwind
colors: {
  custom: {
    50: '#bc74d7',
    500: '#9a30c4',
    950: '#000000',
  },
}
SCSS
$custom: #9a30c4;
$custom-light: #bc74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30c4",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 282.973,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.22245,
    "h": 314.2
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#9A30C4
secondary
#98CD83
accent
#E44471
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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