#9531D6#9531D6

#9531D6 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.3% C 0.236 H 307.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9531D6
RGBrgb(149, 49, 214)
HSLhsl(276, 67%, 52%)
HSVhsv(276, 77%, 84%)
CMYKcmyk(30.4%, 77.1%, 0%, 16.1%)
CIE-LABlab(43.42, 66.89, -65.82)
CIE-LCHlch(43.42, 93.85, 315.46°)
OKLaboklab(54.25% 0.1442 -0.1871)
OKLCHoklch(54.25% 0.236 307.6)
XYZxyz(25.6278, 13.4416, 64.8497)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531D6 #72D631
analogous
#4331D6 #9531D6 #D631C4
triadic
#9531D6 #D69531 #31D695
tetradic
#9531D6 #D64331 #72D631 #31C4D6
square
#9531D6 #D64331 #72D631 #31C4D6
split-complementary
#9531D6 #C4D631 #31D643
monochromatic
#501775 #7321A8 #9531D6 #AF64E0 #CA97EA

Accessibility & contrast

On white

5.69
#9531D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9531D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531D6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531D6#FFFFFF#000000##FFFFFF
##9531D61.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)
#0063DB
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#8A5B83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9531d6;
/* rgb */ color: rgb(149, 49, 214);
/* oklch */ color: oklch(54.3% 0.236 307.6);
Tailwind
colors: {
  custom: {
    50: '#ba74e4',
    500: '#9531d6',
    950: '#000000',
  },
}
SCSS
$custom: #9531d6;
$custom-light: #ba74e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9531d6",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 214
  },
  "hsl": {
    "h": 276.364,
    "s": 66.802,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.23624,
    "h": 307.6
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#9531D6
secondary
#AAD68D
accent
#EA3E82
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9531D6

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

Preview Lab → · Contrast checker → · Palette generator →

#9531D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva