#9545D2#9545D2

#9545D2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.210 H 306.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9545D2
RGBrgb(149, 69, 210)
HSLhsl(274, 61%, 55%)
HSVhsv(274, 67%, 82%)
CMYKcmyk(29%, 67.1%, 0%, 17.6%)
CIE-LABlab(46.04, 57.79, -59.28)
CIE-LCHlch(46.04, 82.79, 314.27°)
OKLaboklab(56.02% 0.1259 -0.168)
OKLCHoklch(56.02% 0.21 306.8)
XYZxyz(26.1529, 15.2992, 62.5356)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545D2 #82D245
analogous
#4F45D2 #9545D2 #D245C8
triadic
#9545D2 #D29545 #45D295
tetradic
#9545D2 #D24F45 #82D245 #45C8D2
square
#9545D2 #D24F45 #82D245 #45C8D2
split-complementary
#9545D2 #C8D245 #45D24F
monochromatic
#551F7E #762AAF #9545D2 #B176DE #CDA8EA

Accessibility & contrast

On white

5.17
#9545D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9545D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545D2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545D2#FFFFFF#000000##FFFFFF
##9545D21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#8B6486
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9545d2;
/* rgb */ color: rgb(149, 69, 210);
/* oklch */ color: oklch(56.0% 0.210 306.8);
Tailwind
colors: {
  custom: {
    50: '#b97ee1',
    500: '#9545d2',
    950: '#000000',
  },
}
SCSS
$custom: #9545d2;
$custom-light: #b97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9545d2",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 274.043,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.20994,
    "h": 306.8
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#9545D2
secondary
#B5D79C
accent
#E44489
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545D2

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

Preview Lab → · Contrast checker → · Palette generator →

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