#9A34C8#9A34C8

#9A34C8 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.222 H 312.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9A34C8
RGBrgb(154, 52, 200)
HSLhsl(281, 59%, 49%)
HSVhsv(281, 74%, 78%)
CMYKcmyk(23%, 74%, 0%, 21.6%)
CIE-LABlab(43.50, 63.79, -57.58)
CIE-LCHlch(43.50, 85.93, 317.93°)
OKLaboklab(54.14% 0.1507 -0.1627)
OKLCHoklch(54.14% 0.222 312.8)
XYZxyz(24.9779, 13.4969, 55.9218)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34C8 #62C834
analogous
#5034C8 #9A34C8 #C834AC
triadic
#9A34C8 #C89A34 #34C89A
tetradic
#9A34C8 #C85034 #62C834 #34ACC8
square
#9A34C8 #C85034 #62C834 #34ACC8
split-complementary
#9A34C8 #ACC834 #34C850
monochromatic
#4F1B67 #752797 #9A34C8 #B263D6 #CA93E3

Accessibility & contrast

On white

5.68
#9A34C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9A34C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34C8#FFFFFF#000000##FFFFFF
##9A34C81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#95557C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a34c8;
/* rgb */ color: rgb(154, 52, 200);
/* oklch */ color: oklch(54.1% 0.222 312.8);
Tailwind
colors: {
  custom: {
    50: '#bc76d9',
    500: '#9a34c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a34c8;
$custom-light: #bc76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34c8",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 281.351,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.22183,
    "h": 312.8
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#9A34C8
secondary
#9FCE8A
accent
#E24676
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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