#9734AF#9734AF

#9734AF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.198 H 319.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9734AF
RGBrgb(151, 52, 175)
HSLhsl(288, 54%, 45%)
HSVhsv(288, 70%, 69%)
CMYKcmyk(13.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(41.42, 58.20, -46.29)
CIE-LCHlch(41.42, 74.36, 321.51°)
OKLaboklab(52.05% 0.1497 -0.1297)
OKLCHoklch(52.05% 0.198 319.1)
XYZxyz(21.7273, 12.1315, 41.7463)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9734AF #4CAF34
analogous
#5A34AF #9734AF #AF3489
triadic
#9734AF #AF9734 #34AF97
tetradic
#9734AF #AF5A34 #4CAF34 #3489AF
square
#9734AF #AF5A34 #4CAF34 #3489AF
split-complementary
#9734AF #89AF34 #34AF5A
monochromatic
#461851 #6E2680 #9734AF #B554CC #C983DA

Accessibility & contrast

On white

6.13
#9734AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9734AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9734AF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9734AF#FFFFFF#000000##FFFFFF
##9734AF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#974B6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9734af;
/* rgb */ color: rgb(151, 52, 175);
/* oklch */ color: oklch(52.0% 0.198 319.1);
Tailwind
colors: {
  custom: {
    50: '#b974c7',
    500: '#9734af',
    950: '#000000',
  },
}
SCSS
$custom: #9734af;
$custom-light: #b974c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9734af",
  "rgb": {
    "r": 151,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 288.293,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.19808,
    "h": 319.1
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#9734AF
secondary
#89C47B
accent
#DE4A67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9734AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9734AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva