#9A30C3#9A30C3

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

Color values

HEX#9A30C3
RGBrgb(154, 48, 195)
HSLhsl(283, 60%, 48%)
HSVhsv(283, 75%, 76%)
CMYKcmyk(21%, 75.4%, 0%, 23.5%)
CIE-LABlab(42.65, 64.24, -56.05)
CIE-LCHlch(42.65, 85.25, 318.90°)
OKLaboklab(53.43% 0.1551 -0.1582)
OKLCHoklch(53.43% 0.222 314.4)
XYZxyz(24.2320, 12.9249, 52.8375)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30C3 #59C330
analogous
#5030C3 #9A30C3 #C330A3
triadic
#9A30C3 #C39A30 #30C39A
tetradic
#9A30C3 #C35030 #59C330 #30A3C3
square
#9A30C3 #C35030 #59C330 #30A3C3
split-complementary
#9A30C3 #A3C330 #30C350
monochromatic
#4C1861 #732492 #9A30C3 #B45AD6 #CA8BE2

Accessibility & contrast

On white

5.86
#9A30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A30C3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30C3#FFFFFF#000000##FFFFFF
##9A30C31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#965178
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a30c3;
/* rgb */ color: rgb(154, 48, 195);
/* oklch */ color: oklch(53.4% 0.222 314.4);
Tailwind
colors: {
  custom: {
    50: '#bc74d6',
    500: '#9a30c3',
    950: '#000000',
  },
}
SCSS
$custom: #9a30c3;
$custom-light: #bc74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30c3",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 283.265,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.22157,
    "h": 314.4
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#9A30C3
secondary
#97CC82
accent
#E44471
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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