#9545DE#9545DE

#9545DE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.222 H 304.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9545DE
RGBrgb(149, 69, 222)
HSLhsl(271, 70%, 57%)
HSVhsv(271, 69%, 87%)
CMYKcmyk(32.9%, 68.9%, 0%, 12.9%)
CIE-LABlab(46.87, 60.53, -64.80)
CIE-LCHlch(46.87, 88.67, 313.05°)
OKLaboklab(56.87% 0.1244 -0.1842)
OKLCHoklch(56.87% 0.222 304)
XYZxyz(27.7044, 15.9198, 70.7064)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545DE #8EDE45
analogous
#4945DE #9545DE #DE45DA
triadic
#9545DE #DE9545 #45DE95
tetradic
#9545DE #DE4945 #8EDE45 #45DADE
square
#9545DE #DE4945 #8EDE45 #45DADE
split-complementary
#9545DE #DADE45 #45DE49
monochromatic
#57198F #7723C3 #9545DE #B379E7 #D0ADF0

Accessibility & contrast

On white

5.02
#9545DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9545DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545DE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545DE#FFFFFF#000000##FFFFFF
##9545DE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#87688D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9545de;
/* rgb */ color: rgb(149, 69, 222);
/* oklch */ color: oklch(56.9% 0.222 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba7fe9',
    500: '#9545de',
    950: '#000000',
  },
}
SCSS
$custom: #9545de;
$custom-light: #ba7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9545de",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 271.373,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.22229,
    "h": 304
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#9545DE
secondary
#BEDFA0
accent
#ED3B90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9545DE

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

Preview Lab → · Contrast checker → · Palette generator →

#9545DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva