#9734CB#9734CB

#9734CB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.0% C 0.224 H 310.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9734CB
RGBrgb(151, 52, 203)
HSLhsl(279, 59%, 50%)
HSVhsv(279, 74%, 80%)
CMYKcmyk(25.6%, 74.4%, 0%, 20.4%)
CIE-LABlab(43.28, 63.84, -59.69)
CIE-LCHlch(43.28, 87.40, 316.92°)
OKLaboklab(53.96% 0.1464 -0.169)
OKLCHoklch(53.96% 0.224 310.9)
XYZxyz(24.7679, 13.3477, 57.7600)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9734CB #68CB34
analogous
#4C34CB #9734CB #CB34B3
triadic
#9734CB #CB9734 #34CB97
tetradic
#9734CB #CB4C34 #68CB34 #34B3CB
square
#9734CB #CB4C34 #68CB34 #34B3CB
split-complementary
#9734CB #B3CB34 #34CB4C
monochromatic
#4F1B6A #73289A #9734CB #B065D7 #C995E4

Accessibility & contrast

On white

5.72
#9734CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9734CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9734CB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9734CB#FFFFFF#000000##FFFFFF
##9734CB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#90577D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9734cb;
/* rgb */ color: rgb(151, 52, 203);
/* oklch */ color: oklch(54.0% 0.224 310.9);
Tailwind
colors: {
  custom: {
    50: '#ba75dc',
    500: '#9734cb',
    950: '#000000',
  },
}
SCSS
$custom: #9734cb;
$custom-light: #ba75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9734cb",
  "rgb": {
    "r": 151,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 279.338,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.22364,
    "h": 310.9
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#9734CB
secondary
#A3CF8C
accent
#E2457B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9734CB

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

Preview Lab → · Contrast checker → · Palette generator →

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