#9A45F0#9A45F0

#9A45F0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.8% C 0.242 H 302.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9A45F0
RGBrgb(154, 69, 240)
HSLhsl(270, 85%, 61%)
HSVhsv(270, 71%, 94%)
CMYKcmyk(35.8%, 71.3%, 0%, 5.9%)
CIE-LABlab(48.78, 65.60, -71.84)
CIE-LCHlch(48.78, 97.29, 312.40°)
OKLaboklab(58.78% 0.1281 -0.2048)
OKLCHoklch(58.78% 0.242 302)
XYZxyz(31.1790, 17.4174, 84.1405)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45F0 #9BF045
analogous
#4545F0 #9A45F0 #F045F0
triadic
#9A45F0 #F09A45 #45F09A
tetradic
#9A45F0 #F04545 #9BF045 #45F0F0
square
#9A45F0 #F04545 #9BF045 #45F0F0
split-complementary
#9A45F0 #F0F045 #45F045
monochromatic
#5D0EAD #7B12E5 #9A45F0 #B97EF5 #D8B6F9

Accessibility & contrast

On white

4.68
#9A45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9A45F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45F0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45F0#FFFFFF#000000##FFFFFF
##9A45F01.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#886F97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a45f0;
/* rgb */ color: rgb(154, 69, 240);
/* oklch */ color: oklch(58.8% 0.242 302.0);
Tailwind
colors: {
  custom: {
    50: '#be80f6',
    500: '#9a45f0',
    950: '#000000',
  },
}
SCSS
$custom: #9a45f0;
$custom-light: #be80f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45f0",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 269.825,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.24156,
    "h": 302
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A45F0

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

Preview Lab → · Contrast checker → · Palette generator →

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