#9B34D0#9B34D0

#9B34D0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.229 H 311.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9B34D0
RGBrgb(155, 52, 208)
HSLhsl(280, 62%, 51%)
HSVhsv(280, 75%, 82%)
CMYKcmyk(25.5%, 75%, 0%, 18.4%)
CIE-LABlab(44.20, 65.61, -61.06)
CIE-LCHlch(44.20, 89.63, 317.06°)
OKLaboklab(54.84% 0.1507 -0.1729)
OKLCHoklch(54.84% 0.229 311.1)
XYZxyz(26.1286, 13.9793, 60.9841)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34D0 #69D034
analogous
#4D34D0 #9B34D0 #D034B7
triadic
#9B34D0 #D09B34 #34D09B
tetradic
#9B34D0 #D04D34 #69D034 #34B7D0
square
#9B34D0 #D04D34 #69D034 #34B7D0
split-complementary
#9B34D0 #B7D034 #34D04D
monochromatic
#531A70 #7725A1 #9B34D0 #B366DC #CC97E7

Accessibility & contrast

On white

5.53
#9B34D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9B34D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34D0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34D0#FFFFFF#000000##FFFFFF
##9B34D01.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#126ACD
Tritanopia (blue-blind)
#945980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b34d0;
/* rgb */ color: rgb(155, 52, 208);
/* oklch */ color: oklch(54.8% 0.229 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd76df',
    500: '#9b34d0',
    950: '#000000',
  },
}
SCSS
$custom: #9b34d0;
$custom-light: #bd76df;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34d0",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 208
  },
  "hsl": {
    "h": 279.615,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.22941,
    "h": 311.1
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#9B34D0
secondary
#A5D28D
accent
#E5427A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B34D0

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

Preview Lab → · Contrast checker → · Palette generator →

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