#9531C9#9531C9

#9531C9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.224 H 310.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9531C9
RGBrgb(149, 49, 201)
HSLhsl(279, 61%, 49%)
HSVhsv(279, 76%, 79%)
CMYKcmyk(25.9%, 75.6%, 0%, 21.2%)
CIE-LABlab(42.47, 64.17, -59.87)
CIE-LCHlch(42.47, 87.76, 316.99°)
OKLaboklab(53.28% 0.1468 -0.1696)
OKLCHoklch(53.28% 0.224 310.9)
XYZxyz(24.0333, 12.8038, 56.4524)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531C9 #65C931
analogous
#4931C9 #9531C9 #C931B1
triadic
#9531C9 #C99531 #31C995
tetradic
#9531C9 #C94931 #65C931 #31B1C9
square
#9531C9 #C94931 #65C931 #31B1C9
split-complementary
#9531C9 #B1C931 #31C949
monochromatic
#4C1967 #712598 #9531C9 #AF5FD8 #C790E4

Accessibility & contrast

On white

5.90
#9531C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9531C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531C9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531C9#FFFFFF#000000##FFFFFF
##9531C91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0C66C6
Tritanopia (blue-blind)
#8E557C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9531c9;
/* rgb */ color: rgb(149, 49, 201);
/* oklch */ color: oklch(53.3% 0.224 310.9);
Tailwind
colors: {
  custom: {
    50: '#b974da',
    500: '#9531c9',
    950: '#000000',
  },
}
SCSS
$custom: #9531c9;
$custom-light: #b974da;
$custom-dark: #000000;
JSON
{
  "hex": "#9531c9",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 279.474,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.22435,
    "h": 310.9
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#9531C9
secondary
#A0CF87
accent
#E4447B
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9531C9

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

Preview Lab → · Contrast checker → · Palette generator →

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