#9531E2#9531E2

#9531E2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.2% C 0.247 H 304.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9531E2
RGBrgb(149, 49, 226)
HSLhsl(274, 75%, 54%)
HSVhsv(274, 78%, 89%)
CMYKcmyk(34.1%, 78.3%, 0%, 11.4%)
CIE-LABlab(44.34, 69.46, -71.18)
CIE-LCHlch(44.34, 99.46, 314.30°)
OKLaboklab(55.18% 0.1413 -0.2029)
OKLCHoklch(55.18% 0.247 304.9)
XYZxyz(27.2171, 14.0773, 73.2201)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531E2 #7EE231
analogous
#3D31E2 #9531E2 #E231D7
triadic
#9531E2 #E29531 #31E295
tetradic
#9531E2 #E23D31 #7EE231 #31D7E2
square
#9531E2 #E23D31 #7EE231 #31D7E2
split-complementary
#9531E2 #D7E231 #31E23D
monochromatic
#541386 #751ABB #9531E2 #B167EA #CC9CF1

Accessibility & contrast

On white

5.50
#9531E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9531E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531E2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531E2#FFFFFF#000000##FFFFFF
##9531E21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#86608A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9531e2;
/* rgb */ color: rgb(149, 49, 226);
/* oklch */ color: oklch(55.2% 0.247 304.9);
Tailwind
colors: {
  custom: {
    50: '#bb75ec',
    500: '#9531e2',
    950: '#000000',
  },
}
SCSS
$custom: #9531e2;
$custom-light: #bb75ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9531e2",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 273.898,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.24724,
    "h": 304.9
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#9531E2
secondary
#B2DD92
accent
#F23688
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9531E2

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

Preview Lab → · Contrast checker → · Palette generator →

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