#9B34D1#9B34D1

#9B34D1 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.9% C 0.230 H 310.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9B34D1
RGBrgb(155, 52, 209)
HSLhsl(279, 63%, 51%)
HSVhsv(279, 75%, 82%)
CMYKcmyk(25.8%, 75.1%, 0%, 18%)
CIE-LABlab(44.27, 65.82, -61.52)
CIE-LCHlch(44.27, 90.10, 316.93°)
OKLaboklab(54.91% 0.1505 -0.1743)
OKLCHoklch(54.91% 0.23 310.8)
XYZxyz(26.2520, 14.0286, 61.6341)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34D1 #6AD134
analogous
#4C34D1 #9B34D1 #D134B8
triadic
#9B34D1 #D19B34 #34D19B
tetradic
#9B34D1 #D14C34 #6AD134 #34B8D1
square
#9B34D1 #D14C34 #6AD134 #34B8D1
split-complementary
#9B34D1 #B8D134 #34D14C
monochromatic
#531A71 #7825A3 #9B34D1 #B466DC #CC98E8

Accessibility & contrast

On white

5.52
#9B34D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9B34D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34D1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34D1#FFFFFF#000000##FFFFFF
##9B34D11.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0F6ACE
Tritanopia (blue-blind)
#945981
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b34d1;
/* rgb */ color: rgb(155, 52, 209);
/* oklch */ color: oklch(54.9% 0.230 310.8);
Tailwind
colors: {
  custom: {
    50: '#be76e0',
    500: '#9b34d1',
    950: '#000000',
  },
}
SCSS
$custom: #9b34d1;
$custom-light: #be76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34d1",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 279.363,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.23031,
    "h": 310.8
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#9B34D1
secondary
#A6D38E
accent
#E6427A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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