#9D34DD#9D34DD

#9D34DD is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 56.0% C 0.242 H 308.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D34DD
RGBrgb(157, 52, 221)
HSLhsl(277, 71%, 54%)
HSVhsv(277, 76%, 87%)
CMYKcmyk(29%, 76.5%, 0%, 13.3%)
CIE-LABlab(45.42, 68.66, -66.53)
CIE-LCHlch(45.42, 95.61, 315.90°)
OKLaboklab(56.05% 0.1508 -0.1889)
OKLCHoklch(56.05% 0.242 308.6)
XYZxyz(28.1811, 14.8450, 69.7734)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34DD #74DD34
analogous
#4834DD #9D34DD #DD34C8
triadic
#9D34DD #DD9D34 #34DD9D
tetradic
#9D34DD #DD4834 #74DD34 #34C8DD
square
#9D34DD #DD4834 #74DD34 #34C8DD
split-complementary
#9D34DD #C8DD34 #34DD48
monochromatic
#581681 #7C1EB5 #9D34DD #B668E6 #D09DEF

Accessibility & contrast

On white

5.29
#9D34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9D34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34DD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34DD#FFFFFF#000000##FFFFFF
##9D34DD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#935E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d34dd;
/* rgb */ color: rgb(157, 52, 221);
/* oklch */ color: oklch(56.0% 0.242 308.6);
Tailwind
colors: {
  custom: {
    50: '#c077e9',
    500: '#9d34dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d34dd;
$custom-light: #c077e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34dd",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 277.278,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.24176,
    "h": 308.6
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#9D34DD
secondary
#AEDB92
accent
#EE3A7E
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9D34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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