#9545F4#9545F4

#9545F4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.245 H 299.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9545F4
RGBrgb(149, 69, 244)
HSLhsl(267, 89%, 61%)
HSVhsv(267, 72%, 96%)
CMYKcmyk(38.9%, 71.7%, 0%, 4.3%)
CIE-LABlab(48.48, 65.67, -74.60)
CIE-LCHlch(48.48, 99.38, 311.36°)
OKLaboklab(58.53% 0.1206 -0.213)
OKLCHoklch(58.53% 0.245 299.5)
XYZxyz(30.8476, 17.1771, 87.2607)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545F4 #A4F445
analogous
#454DF4 #9545F4 #ED45F4
triadic
#9545F4 #F49545 #45F495
tetradic
#9545F4 #F4454D #A4F445 #45F4ED
square
#9545F4 #F4454D #A4F445 #45F4ED
split-complementary
#9545F4 #F4ED45 #4DF445
monochromatic
#580BB4 #740EEE #9545F4 #B67FF7 #D7B9FB

Accessibility & contrast

On white

4.73
#9545F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9545F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545F4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545F4#FFFFFF#000000##FFFFFF
##9545F41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#7F7199
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9545f4;
/* rgb */ color: rgb(149, 69, 244);
/* oklch */ color: oklch(58.5% 0.245 299.5);
Tailwind
colors: {
  custom: {
    50: '#bb7ff9',
    500: '#9545f4',
    950: '#000000',
  },
}
SCSS
$custom: #9545f4;
$custom-light: #bb7ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9545f4",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 244
  },
  "hsl": {
    "h": 267.429,
    "s": 88.832,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.24481,
    "h": 299.5
  },
  "luminance": 0.17177
}

Semantic roles & 50–950 ramp

primary
#9545F4
secondary
#CDEBAA
accent
#E5007D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9545F4

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

Preview Lab → · Contrast checker → · Palette generator →

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