#9531C8#9531C8

#9531C8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.223 H 311.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9531C8
RGBrgb(149, 49, 200)
HSLhsl(280, 61%, 49%)
HSVhsv(280, 76%, 78%)
CMYKcmyk(25.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(42.39, 63.96, -59.40)
CIE-LCHlch(42.39, 87.29, 317.12°)
OKLaboklab(53.21% 0.147 -0.1682)
OKLCHoklch(53.21% 0.223 311.1)
XYZxyz(23.9161, 12.7569, 55.8349)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531C8 #64C831
analogous
#4A31C8 #9531C8 #C831B0
triadic
#9531C8 #C89531 #31C895
tetradic
#9531C8 #C84A31 #64C831 #31B0C8
square
#9531C8 #C84A31 #64C831 #31B0C8
split-complementary
#9531C8 #B0C831 #31C84A
monochromatic
#4C1966 #702597 #9531C8 #AF5FD8 #C790E4

Accessibility & contrast

On white

5.91
#9531C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9531C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531C8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531C8#FFFFFF#000000##FFFFFF
##9531C81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#1066C5
Tritanopia (blue-blind)
#8E557B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9531c8;
/* rgb */ color: rgb(149, 49, 200);
/* oklch */ color: oklch(53.2% 0.223 311.1);
Tailwind
colors: {
  custom: {
    50: '#b974da',
    500: '#9531c8',
    950: '#000000',
  },
}
SCSS
$custom: #9531c8;
$custom-light: #b974da;
$custom-dark: #000000;
JSON
{
  "hex": "#9531c8",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 279.735,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.22343,
    "h": 311.1
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#9531C8
secondary
#9FCE86
accent
#E4447A
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9531C8

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

Preview Lab → · Contrast checker → · Palette generator →

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