#9A4FDF#9A4FDF

#9A4FDF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.212 H 304.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A4FDF
RGBrgb(154, 79, 223)
HSLhsl(271, 69%, 59%)
HSVhsv(271, 65%, 87%)
CMYKcmyk(30.9%, 64.6%, 0%, 12.5%)
CIE-LABlab(49.24, 57.09, -61.50)
CIE-LCHlch(49.24, 83.91, 312.87°)
OKLaboklab(58.73% 0.1203 -0.1744)
OKLCHoklch(58.73% 0.212 304.6)
XYZxyz(29.4387, 17.7898, 71.6806)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FDF #94DF4F
analogous
#524FDF #9A4FDF #DF4FDC
triadic
#9A4FDF #DF9A4F #4FDF9A
tetradic
#9A4FDF #DF524F #94DF4F #4FDCDF
square
#9A4FDF #DF524F #94DF4F #4FDCDF
split-complementary
#9A4FDF #DCDF4F #4FDF52
monochromatic
#5C1C98 #7C25CC #9A4FDF #B883E8 #D5B7F2

Accessibility & contrast

On white

4.61
#9A4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9A4FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FDF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FDF#FFFFFF#000000##FFFFFF
##9A4FDF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#8D6E90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a4fdf;
/* rgb */ color: rgb(154, 79, 223);
/* oklch */ color: oklch(58.7% 0.212 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc85ea',
    500: '#9a4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fdf;
$custom-light: #bc85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fdf",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 271.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.21186,
    "h": 304.6
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#9A4FDF
secondary
#C4E1A9
accent
#EC3C90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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