#9534D1#9534D1

#9534D1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.229 H 308.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9534D1
RGBrgb(149, 52, 209)
HSLhsl(277, 63%, 51%)
HSVhsv(277, 75%, 82%)
CMYKcmyk(28.7%, 75.1%, 0%, 18%)
CIE-LABlab(43.43, 64.73, -62.93)
CIE-LCHlch(43.43, 90.28, 315.81°)
OKLaboklab(54.15% 0.1427 -0.1786)
OKLCHoklch(54.15% 0.229 308.6)
XYZxyz(25.1287, 13.4494, 61.5815)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534D1 #70D134
analogous
#4634D1 #9534D1 #D134BE
triadic
#9534D1 #D19534 #34D195
tetradic
#9534D1 #D14634 #70D134 #34BED1
square
#9534D1 #D14634 #70D134 #34BED1
split-complementary
#9534D1 #BED134 #34D146
monochromatic
#501A71 #7325A3 #9534D1 #AF66DC #C998E8

Accessibility & contrast

On white

5.69
#9534D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9534D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534D1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534D1#FFFFFF#000000##FFFFFF
##9534D11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#8C5A81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9534d1;
/* rgb */ color: rgb(149, 52, 209);
/* oklch */ color: oklch(54.1% 0.229 308.6);
Tailwind
colors: {
  custom: {
    50: '#b975e0',
    500: '#9534d1',
    950: '#000000',
  },
}
SCSS
$custom: #9534d1;
$custom-light: #b975e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9534d1",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 277.07,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.22864,
    "h": 308.6
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

primary
#9534D1
secondary
#A8D38E
accent
#E64281
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9534D1

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

Preview Lab → · Contrast checker → · Palette generator →

#9534D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva