#9F34DD#9F34DD

#9F34DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.3% C 0.242 H 309.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9F34DD
RGBrgb(159, 52, 221)
HSLhsl(278, 71%, 54%)
HSVhsv(278, 76%, 87%)
CMYKcmyk(28.1%, 76.5%, 0%, 13.3%)
CIE-LABlab(45.70, 69.01, -66.06)
CIE-LCHlch(45.70, 95.53, 316.25°)
OKLaboklab(56.3% 0.1534 -0.1875)
OKLCHoklch(56.3% 0.242 309.3)
XYZxyz(28.5746, 15.0479, 69.7918)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34DD #72DD34
analogous
#4A34DD #9F34DD #DD34C6
triadic
#9F34DD #DD9F34 #34DD9F
tetradic
#9F34DD #DD4A34 #72DD34 #34C6DD
square
#9F34DD #DD4A34 #72DD34 #34C6DD
split-complementary
#9F34DD #C6DD34 #34DD4A
monochromatic
#5A1681 #7E1EB5 #9F34DD #B868E6 #D19DEF

Accessibility & contrast

On white

5.24
#9F34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9F34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34DD#FFFFFF#000000##FFFFFF
##9F34DD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#965E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f34dd;
/* rgb */ color: rgb(159, 52, 221);
/* oklch */ color: oklch(56.3% 0.242 309.3);
Tailwind
colors: {
  custom: {
    50: '#c177e9',
    500: '#9f34dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f34dd;
$custom-light: #c177e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34dd",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 277.988,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.24228,
    "h": 309.3
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#9F34DD
secondary
#ADDB92
accent
#EE3A7C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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