#9A34C7#9A34C7

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

Color values

HEX#9A34C7
RGBrgb(154, 52, 199)
HSLhsl(282, 59%, 49%)
HSVhsv(282, 74%, 78%)
CMYKcmyk(22.6%, 73.9%, 0%, 22%)
CIE-LABlab(43.43, 63.58, -57.11)
CIE-LCHlch(43.43, 85.46, 318.07°)
OKLaboklab(54.07% 0.1509 -0.1614)
OKLCHoklch(54.07% 0.221 313.1)
XYZxyz(24.8614, 13.4503, 55.3083)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34C7 #61C734
analogous
#5134C7 #9A34C7 #C734AB
triadic
#9A34C7 #C79A34 #34C79A
tetradic
#9A34C7 #C75134 #61C734 #34ABC7
square
#9A34C7 #C75134 #61C734 #34ABC7
split-complementary
#9A34C7 #ABC734 #34C751
monochromatic
#4F1B66 #742796 #9A34C7 #B362D6 #CA93E3

Accessibility & contrast

On white

5.69
#9A34C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9A34C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34C7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34C7#FFFFFF#000000##FFFFFF
##9A34C71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#2469C4
Tritanopia (blue-blind)
#95557B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a34c7;
/* rgb */ color: rgb(154, 52, 199);
/* oklch */ color: oklch(54.1% 0.221 313.1);
Tailwind
colors: {
  custom: {
    50: '#bc76d9',
    500: '#9a34c7',
    950: '#000000',
  },
}
SCSS
$custom: #9a34c7;
$custom-light: #bc76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34c7",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 281.633,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.22092,
    "h": 313.1
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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