#9545DA#9545DA

#9545DA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.218 H 304.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9545DA
RGBrgb(149, 69, 218)
HSLhsl(272, 67%, 56%)
HSVhsv(272, 68%, 85%)
CMYKcmyk(31.7%, 68.3%, 0%, 14.5%)
CIE-LABlab(46.59, 59.61, -62.97)
CIE-LCHlch(46.59, 86.71, 313.43°)
OKLaboklab(56.59% 0.1249 -0.1789)
OKLCHoklch(56.59% 0.218 304.9)
XYZxyz(27.1746, 15.7079, 67.9164)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545DA #8ADA45
analogous
#4B45DA #9545DA #DA45D4
triadic
#9545DA #DA9545 #45DA95
tetradic
#9545DA #DA4B45 #8ADA45 #45D4DA
square
#9545DA #DA4B45 #8ADA45 #45D4DA
split-complementary
#9545DA #D4DA45 #45DA4B
monochromatic
#561B89 #7625BC #9545DA #B278E4 #CFABEE

Accessibility & contrast

On white

5.07
#9545DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9545DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545DA#FFFFFF#000000##FFFFFF
##9545DA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#066FD7
Tritanopia (blue-blind)
#88678A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9545da;
/* rgb */ color: rgb(149, 69, 218);
/* oklch */ color: oklch(56.6% 0.218 304.9);
Tailwind
colors: {
  custom: {
    50: '#b97ee6',
    500: '#9545da',
    950: '#000000',
  },
}
SCSS
$custom: #9545da;
$custom-light: #b97ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9545da",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 272.215,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.21818,
    "h": 304.9
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#9545DA
secondary
#BBDC9F
accent
#EA3E8E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9545DA

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

Preview Lab → · Contrast checker → · Palette generator →

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