#9534D2#9534D2

#9534D2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.230 H 308.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9534D2
RGBrgb(149, 52, 210)
HSLhsl(277, 64%, 51%)
HSVhsv(277, 75%, 82%)
CMYKcmyk(29%, 75.2%, 0%, 17.6%)
CIE-LABlab(43.51, 64.95, -63.38)
CIE-LCHlch(43.51, 90.75, 315.70°)
OKLaboklab(54.22% 0.1425 -0.18)
OKLCHoklch(54.22% 0.23 308.4)
XYZxyz(25.2529, 13.4991, 62.2355)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534D2 #71D234
analogous
#4634D2 #9534D2 #D234C0
triadic
#9534D2 #D29534 #34D295
tetradic
#9534D2 #D24634 #71D234 #34C0D2
square
#9534D2 #D24634 #71D234 #34C0D2
split-complementary
#9534D2 #C0D234 #34D246
monochromatic
#501972 #7324A4 #9534D2 #AF66DD #C998E8

Accessibility & contrast

On white

5.68
#9534D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9534D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534D2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534D2#FFFFFF#000000##FFFFFF
##9534D21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#8B5B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9534d2;
/* rgb */ color: rgb(149, 52, 210);
/* oklch */ color: oklch(54.2% 0.230 308.4);
Tailwind
colors: {
  custom: {
    50: '#ba75e1',
    500: '#9534d2',
    950: '#000000',
  },
}
SCSS
$custom: #9534d2;
$custom-light: #ba75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9534d2",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 276.835,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.22957,
    "h": 308.4
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#9534D2
secondary
#A9D48E
accent
#E74181
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9534D2

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

Preview Lab → · Contrast checker → · Palette generator →

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