#9545DF#9545DF

#9545DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.223 H 303.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9545DF
RGBrgb(149, 69, 223)
HSLhsl(271, 71%, 57%)
HSVhsv(271, 69%, 87%)
CMYKcmyk(33.2%, 69.1%, 0%, 12.5%)
CIE-LABlab(46.94, 60.76, -65.25)
CIE-LCHlch(46.94, 89.16, 312.96°)
OKLaboklab(56.95% 0.1243 -0.1856)
OKLCHoklch(56.95% 0.223 303.8)
XYZxyz(27.8388, 15.9736, 71.4143)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545DF #8FDF45
analogous
#4845DF #9545DF #DF45DC
triadic
#9545DF #DF9545 #45DF95
tetradic
#9545DF #DF4845 #8FDF45 #45DCDF
square
#9545DF #DF4845 #8FDF45 #45DCDF
split-complementary
#9545DF #DCDF45 #45DF48
monochromatic
#571991 #7722C5 #9545DF #B379E8 #D1ADF1

Accessibility & contrast

On white

5.01
#9545DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9545DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545DF#FFFFFF#000000##FFFFFF
##9545DF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#87698D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9545df;
/* rgb */ color: rgb(149, 69, 223);
/* oklch */ color: oklch(56.9% 0.223 303.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fea',
    500: '#9545df',
    950: '#000000',
  },
}
SCSS
$custom: #9545df;
$custom-light: #ba7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9545df",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 271.169,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.22332,
    "h": 303.8
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#9545DF
secondary
#BFDFA1
accent
#ED3A90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9545DF

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

Preview Lab → · Contrast checker → · Palette generator →

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