#9734C2#9734C2

#9734C2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.215 H 313.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9734C2
RGBrgb(151, 52, 194)
HSLhsl(282, 58%, 48%)
HSVhsv(282, 73%, 76%)
CMYKcmyk(22.2%, 73.2%, 0%, 23.9%)
CIE-LABlab(42.66, 61.98, -55.47)
CIE-LCHlch(42.66, 83.18, 318.17°)
OKLaboklab(53.32% 0.1478 -0.1567)
OKLCHoklch(53.32% 0.215 313.3)
XYZxyz(23.7264, 12.9311, 52.2746)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9734C2 #5FC234
analogous
#5034C2 #9734C2 #C234A6
triadic
#9734C2 #C29734 #34C297
tetradic
#9734C2 #C25034 #5FC234 #34A6C2
square
#9734C2 #C25034 #5FC234 #34A6C2
split-complementary
#9734C2 #A6C234 #34C250
monochromatic
#4C1A61 #712792 #9734C2 #B15FD4 #C88FE1

Accessibility & contrast

On white

5.86
#9734C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9734C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9734C2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9734C2#FFFFFF#000000##FFFFFF
##9734C21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#925378
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9734c2;
/* rgb */ color: rgb(151, 52, 194);
/* oklch */ color: oklch(53.3% 0.215 313.3);
Tailwind
colors: {
  custom: {
    50: '#ba75d5',
    500: '#9734c2',
    950: '#000000',
  },
}
SCSS
$custom: #9734c2;
$custom-light: #ba75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9734c2",
  "rgb": {
    "r": 151,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 281.831,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.21536,
    "h": 313.3
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#9734C2
secondary
#9BCC86
accent
#E14776
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9734C2

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

Preview Lab → · Contrast checker → · Palette generator →

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