#9D34D3#9D34D3

#9D34D3 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.3% C 0.233 H 311.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9D34D3
RGBrgb(157, 52, 211)
HSLhsl(280, 64%, 52%)
HSVhsv(280, 75%, 83%)
CMYKcmyk(25.6%, 75.4%, 0%, 17.3%)
CIE-LABlab(44.70, 66.59, -61.97)
CIE-LCHlch(44.70, 90.97, 317.06°)
OKLaboklab(55.32% 0.1528 -0.1756)
OKLCHoklch(55.32% 0.233 311)
XYZxyz(26.8882, 14.3279, 62.9645)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34D3 #6AD334
analogous
#4E34D3 #9D34D3 #D334B9
triadic
#9D34D3 #D39D34 #34D39D
tetradic
#9D34D3 #D34E34 #6AD334 #34B9D3
square
#9D34D3 #D34E34 #6AD334 #34B9D3
split-complementary
#9D34D3 #B9D334 #34D34E
monochromatic
#551974 #7A24A6 #9D34D3 #B566DE #CE99E9

Accessibility & contrast

On white

5.43
#9D34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9D34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34D3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34D3#FFFFFF#000000##FFFFFF
##9D34D31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0F6BD0
Tritanopia (blue-blind)
#965A82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d34d3;
/* rgb */ color: rgb(157, 52, 211);
/* oklch */ color: oklch(55.3% 0.233 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf76e1',
    500: '#9d34d3',
    950: '#000000',
  },
}
SCSS
$custom: #9d34d3;
$custom-light: #bf76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34d3",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 279.623,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.23271,
    "h": 311
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#9D34D3
secondary
#A6D48E
accent
#E74079
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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