#9534CD#9534CD

#9534CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.225 H 309.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9534CD
RGBrgb(149, 52, 205)
HSLhsl(278, 60%, 50%)
HSVhsv(278, 75%, 80%)
CMYKcmyk(27.3%, 74.6%, 0%, 19.6%)
CIE-LABlab(43.14, 63.89, -61.09)
CIE-LCHlch(43.14, 88.39, 316.28°)
OKLaboklab(53.85% 0.1435 -0.1732)
OKLCHoklch(53.85% 0.225 309.6)
XYZxyz(24.6397, 13.2538, 59.0060)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534CD #6CCD34
analogous
#4834CD #9534CD #CD34B9
triadic
#9534CD #CD9534 #34CD95
tetradic
#9534CD #CD4834 #6CCD34 #34B9CD
square
#9534CD #CD4834 #6CCD34 #34B9CD
split-complementary
#9534CD #B9CD34 #34CD48
monochromatic
#4E1B6C #72279D #9534CD #AF65D9 #C896E5

Accessibility & contrast

On white

5.75
#9534CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9534CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534CD#FFFFFF#000000##FFFFFF
##9534CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0367CA
Tritanopia (blue-blind)
#8D587F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9534cd;
/* rgb */ color: rgb(149, 52, 205);
/* oklch */ color: oklch(53.8% 0.225 309.6);
Tailwind
colors: {
  custom: {
    50: '#b975dd',
    500: '#9534cd',
    950: '#000000',
  },
}
SCSS
$custom: #9534cd;
$custom-light: #b975dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9534cd",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 278.039,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.22491,
    "h": 309.6
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#9534CD
secondary
#A5D18C
accent
#E4447F
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9534CD

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

Preview Lab → · Contrast checker → · Palette generator →

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