#9A309E#9A309E

#9A309E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.190 H 326.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9A309E
RGBrgb(154, 48, 158)
HSLhsl(298, 53%, 40%)
HSVhsv(298, 70%, 62%)
CMYKcmyk(2.5%, 69.6%, 0%, 38%)
CIE-LABlab(40.33, 57.30, -37.85)
CIE-LCHlch(40.33, 68.67, 326.55°)
OKLaboklab(51.04% 0.1579 -0.105)
OKLCHoklch(51.04% 0.19 326.4)
XYZxyz(20.5545, 11.4539, 33.4693)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A309E #349E30
analogous
#63309E #9A309E #9E306B
triadic
#9A309E #9E9A30 #309E9A
tetradic
#9A309E #9E6330 #349E30 #306B9E
square
#9A309E #9E6330 #349E30 #306B9E
split-complementary
#9A309E #6B9E30 #309E63
monochromatic
#3E1340 #6C226F #9A309E #C245C6 #D174D5

Accessibility & contrast

On white

6.38
#9A309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9A309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A309E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A309E#FFFFFF#000000##FFFFFF
##9A309E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A1
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#9E4163
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a309e;
/* rgb */ color: rgb(154, 48, 158);
/* oklch */ color: oklch(51.0% 0.190 326.4);
Tailwind
colors: {
  custom: {
    50: '#bb72bb',
    500: '#9a309e',
    950: '#000000',
  },
}
SCSS
$custom: #9a309e;
$custom-light: #bb72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a309e",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 297.818,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.18961,
    "h": 326.4
  },
  "luminance": 0.11453
}

Semantic roles & 50–950 ramp

primary
#9A309E
secondary
#70BD6D
accent
#DD4B50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A309E

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

Preview Lab → · Contrast checker → · Palette generator →

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