#9A54DF#9A54DF

#9A54DF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.205 H 304.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9A54DF
RGBrgb(154, 84, 223)
HSLhsl(270, 68%, 60%)
HSVhsv(270, 62%, 87%)
CMYKcmyk(30.9%, 62.3%, 0%, 12.5%)
CIE-LABlab(50.14, 54.63, -60.05)
CIE-LCHlch(50.14, 81.18, 312.29°)
OKLaboklab(59.38% 0.1146 -0.1702)
OKLCHoklch(59.38% 0.205 304)
XYZxyz(29.8130, 18.5385, 71.8054)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54DF #99DF54
analogous
#5454DF #9A54DF #DF54DE
triadic
#9A54DF #DF9A54 #54DF9A
tetradic
#9A54DF #DF5454 #99DF54 #54DEDF
square
#9A54DF #DF5454 #99DF54 #54DEDF
split-complementary
#9A54DF #DEDF54 #54DF54
monochromatic
#5D1D9C #7C27CF #9A54DF #B888E9 #D7BBF2

Accessibility & contrast

On white

4.46
#9A54DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9A54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A54DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54DF#FFFFFF#000000##000000
##9A54DF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#8D7192
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a54df;
/* rgb */ color: rgb(154, 84, 223);
/* oklch */ color: oklch(59.4% 0.205 304.0);
Tailwind
colors: {
  custom: {
    50: '#bc88ea',
    500: '#9a54df',
    950: '#000000',
  },
}
SCSS
$custom: #9a54df;
$custom-light: #bc88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54df",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 270.216,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.20516,
    "h": 304
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#9A54DF
secondary
#C7E2AD
accent
#D01572
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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