#9B34DD#9B34DD

#9B34DD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.8% C 0.241 H 307.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9B34DD
RGBrgb(155, 52, 221)
HSLhsl(277, 71%, 54%)
HSVhsv(277, 76%, 87%)
CMYKcmyk(29.9%, 76.5%, 0%, 13.3%)
CIE-LABlab(45.14, 68.32, -66.99)
CIE-LCHlch(45.14, 95.68, 315.56°)
OKLaboklab(55.8% 0.1482 -0.1904)
OKLCHoklch(55.8% 0.241 307.9)
XYZxyz(27.7940, 14.6454, 69.7553)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34DD #76DD34
analogous
#4634DD #9B34DD #DD34CA
triadic
#9B34DD #DD9B34 #34DD9B
tetradic
#9B34DD #DD4634 #76DD34 #34CADD
square
#9B34DD #DD4634 #76DD34 #34CADD
split-complementary
#9B34DD #CADD34 #34DD46
monochromatic
#571681 #7A1EB5 #9B34DD #B568E6 #CF9DEF

Accessibility & contrast

On white

5.34
#9B34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9B34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34DD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34DD#FFFFFF#000000##FFFFFF
##9B34DD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#905E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b34dd;
/* rgb */ color: rgb(155, 52, 221);
/* oklch */ color: oklch(55.8% 0.241 307.9);
Tailwind
colors: {
  custom: {
    50: '#be77e9',
    500: '#9b34dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b34dd;
$custom-light: #be77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34dd",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 276.568,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.24124,
    "h": 307.9
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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