#9545E7#9545E7

#9545E7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.232 H 302.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9545E7
RGBrgb(149, 69, 231)
HSLhsl(270, 77%, 59%)
HSVhsv(270, 70%, 91%)
CMYKcmyk(35.5%, 70.1%, 0%, 9.4%)
CIE-LABlab(47.51, 62.62, -68.86)
CIE-LCHlch(47.51, 93.07, 312.28°)
OKLaboklab(57.54% 0.123 -0.1962)
OKLCHoklch(57.54% 0.232 302.1)
XYZxyz(28.9429, 16.4152, 77.2295)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545E7 #97E745
analogous
#4546E7 #9545E7 #E645E7
triadic
#9545E7 #E79545 #45E795
tetradic
#9545E7 #E74546 #97E745 #45E7E6
square
#9545E7 #E74546 #97E745 #45E7E6
split-complementary
#9545E7 #E7E645 #46E745
monochromatic
#58149D #761BD4 #9545E7 #B47BEE #D3B1F5

Accessibility & contrast

On white

4.90
#9545E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9545E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545E7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545E7#FFFFFF#000000##FFFFFF
##9545E71.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#846C92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9545e7;
/* rgb */ color: rgb(149, 69, 231);
/* oklch */ color: oklch(57.5% 0.232 302.1);
Tailwind
colors: {
  custom: {
    50: '#ba7ff0',
    500: '#9545e7',
    950: '#000000',
  },
}
SCSS
$custom: #9545e7;
$custom-light: #ba7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9545e7",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 269.63,
    "s": 77.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.23153,
    "h": 302.1
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#9545E7
secondary
#C4E4A4
accent
#F43495
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9545E7

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

Preview Lab → · Contrast checker → · Palette generator →

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