#9A30BC#9A30BC

#9A30BC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.215 H 316.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9A30BC
RGBrgb(154, 48, 188)
HSLhsl(285, 59%, 46%)
HSVhsv(285, 74%, 74%)
CMYKcmyk(18.1%, 74.5%, 0%, 26.3%)
CIE-LABlab(42.18, 62.87, -52.71)
CIE-LCHlch(42.18, 82.04, 320.02°)
OKLaboklab(52.94% 0.1561 -0.1484)
OKLCHoklch(52.94% 0.215 316.4)
XYZxyz(23.4591, 12.6157, 48.7666)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30BC #52BC30
analogous
#5430BC #9A30BC #BC3098
triadic
#9A30BC #BC9A30 #30BC9A
tetradic
#9A30BC #BC5430 #52BC30 #3098BC
square
#9A30BC #BC5430 #52BC30 #3098BC
split-complementary
#9A30BC #98BC30 #30BC54
monochromatic
#4A175A #72248B #9A30BC #B555D4 #CA86E0

Accessibility & contrast

On white

5.96
#9A30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9A30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30BC#FFFFFF#000000##FFFFFF
##9A30BC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3066B9
Tritanopia (blue-blind)
#984E74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a30bc;
/* rgb */ color: rgb(154, 48, 188);
/* oklch */ color: oklch(52.9% 0.215 316.4);
Tailwind
colors: {
  custom: {
    50: '#bc73d1',
    500: '#9a30bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a30bc;
$custom-light: #bc73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30bc",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 285.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.2154,
    "h": 316.4
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#9A30BC
secondary
#90CA7E
accent
#E3456B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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