#9A4FCA#9A4FCA

#9A4FCA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.189 H 309.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9A4FCA
RGBrgb(154, 79, 202)
HSLhsl(277, 54%, 55%)
HSVhsv(277, 61%, 79%)
CMYKcmyk(23.8%, 60.9%, 0%, 20.8%)
CIE-LABlab(47.91, 52.30, -51.63)
CIE-LCHlch(47.91, 73.50, 315.37°)
OKLaboklab(57.35% 0.1213 -0.1455)
OKLCHoklch(57.35% 0.189 309.8)
XYZxyz(26.7810, 16.7268, 57.6834)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FCA #7FCA4F
analogous
#5C4FCA #9A4FCA #CA4FBD
triadic
#9A4FCA #CA9A4F #4FCA9A
tetradic
#9A4FCA #CA5C4F #7FCA4F #4FBDCA
square
#9A4FCA #CA5C4F #7FCA4F #4FBDCA
split-complementary
#9A4FCA #BDCA4F #4FCA5C
monochromatic
#59257A #7B33A9 #9A4FCA #B57ED8 #D0ADE6

Accessibility & contrast

On white

4.83
#9A4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9A4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FCA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FCA#FFFFFF#000000##FFFFFF
##9A4FCA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#946785
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4fca;
/* rgb */ color: rgb(154, 79, 202);
/* oklch */ color: oklch(57.3% 0.189 309.8);
Tailwind
colors: {
  custom: {
    50: '#bb84db',
    500: '#9a4fca',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fca;
$custom-light: #bb84db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fca",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 276.585,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.18941,
    "h": 309.8
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#9A4FCA
secondary
#B5D4A1
accent
#DD4B84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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