#9531CC#9531CC

#9531CC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.5% C 0.227 H 310.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9531CC
RGBrgb(149, 49, 204)
HSLhsl(279, 61%, 50%)
HSVhsv(279, 76%, 80%)
CMYKcmyk(27%, 76%, 0%, 20%)
CIE-LABlab(42.68, 64.79, -61.26)
CIE-LCHlch(42.68, 89.16, 316.61°)
OKLaboklab(53.5% 0.1463 -0.1737)
OKLCHoklch(53.5% 0.227 310.1)
XYZxyz(24.3897, 12.9464, 58.3291)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531CC #68CC31
analogous
#4831CC #9531CC #CC31B5
triadic
#9531CC #CC9531 #31CC95
tetradic
#9531CC #CC4831 #68CC31 #31B5CC
square
#9531CC #CC4831 #68CC31 #31B5CC
split-complementary
#9531CC #B5CC31 #31CC48
monochromatic
#4D1969 #71259B #9531CC #AF61D9 #C892E5

Accessibility & contrast

On white

5.85
#9531CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9531CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531CC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531CC#FFFFFF#000000##FFFFFF
##9531CC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#8D567D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9531cc;
/* rgb */ color: rgb(149, 49, 204);
/* oklch */ color: oklch(53.5% 0.227 310.1);
Tailwind
colors: {
  custom: {
    50: '#b974dc',
    500: '#9531cc',
    950: '#000000',
  },
}
SCSS
$custom: #9531cc;
$custom-light: #b974dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9531cc",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 278.71,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.22709,
    "h": 310.1
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#9531CC
secondary
#A2D089
accent
#E4437D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9531CC

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

Preview Lab → · Contrast checker → · Palette generator →

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