#9A45F1#9A45F1

#9A45F1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.9% C 0.243 H 301.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9A45F1
RGBrgb(154, 69, 241)
HSLhsl(270, 86%, 61%)
HSVhsv(270, 71%, 95%)
CMYKcmyk(36.1%, 71.4%, 0%, 5.5%)
CIE-LABlab(48.86, 65.83, -72.28)
CIE-LCHlch(48.86, 97.77, 312.33°)
OKLaboklab(58.85% 0.128 -0.2061)
OKLCHoklch(58.85% 0.243 301.8)
XYZxyz(31.3279, 17.4770, 84.9250)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45F1 #9CF145
analogous
#4546F1 #9A45F1 #F045F1
triadic
#9A45F1 #F19A45 #45F19A
tetradic
#9A45F1 #F14546 #9CF145 #45F1F0
square
#9A45F1 #F14546 #9CF145 #45F1F0
split-complementary
#9A45F1 #F1F045 #46F145
monochromatic
#5D0DAE #7B11E7 #9A45F1 #B97EF5 #D8B7FA

Accessibility & contrast

On white

4.67
#9A45F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9A45F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45F1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45F1#FFFFFF#000000##FFFFFF
##9A45F11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#876F97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a45f1;
/* rgb */ color: rgb(154, 69, 241);
/* oklch */ color: oklch(58.9% 0.243 301.8);
Tailwind
colors: {
  custom: {
    50: '#be80f7',
    500: '#9a45f1',
    950: '#000000',
  },
}
SCSS
$custom: #9a45f1;
$custom-light: #be80f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45f1",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 269.651,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.24256,
    "h": 301.8
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#9A45F1
secondary
#C9E9A8
accent
#E30374
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A45F1

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

Preview Lab → · Contrast checker → · Palette generator →

#9A45F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva