#9A4CE3#9A4CE3

#9A4CE3 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.220 H 304.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9A4CE3
RGBrgb(154, 76, 227)
HSLhsl(271, 73%, 59%)
HSVhsv(271, 67%, 89%)
CMYKcmyk(32.2%, 66.5%, 0%, 11%)
CIE-LABlab(48.99, 59.45, -64.17)
CIE-LCHlch(48.99, 87.48, 312.81°)
OKLaboklab(58.63% 0.1231 -0.1823)
OKLCHoklch(58.63% 0.22 304)
XYZxyz(29.7728, 17.5850, 74.4839)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CE3 #95E34C
analogous
#4E4CE3 #9A4CE3 #E34CE1
triadic
#9A4CE3 #E39A4C #4CE39A
tetradic
#9A4CE3 #E34E4C #95E34C #4CE1E3
square
#9A4CE3 #E34E4C #95E34C #4CE1E3
split-complementary
#9A4CE3 #E1E34C #4CE34E
monochromatic
#5C189C #7C21D1 #9A4CE3 #B881EB #D6B6F4

Accessibility & contrast

On white

4.65
#9A4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9A4CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CE3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CE3#FFFFFF#000000##FFFFFF
##9A4CE31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#1174E0
Tritanopia (blue-blind)
#8C6E91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4ce3;
/* rgb */ color: rgb(154, 76, 227);
/* oklch */ color: oklch(58.6% 0.220 304.0);
Tailwind
colors: {
  custom: {
    50: '#bd83ed',
    500: '#9a4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ce3;
$custom-light: #bd83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ce3",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 270.993,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.21995,
    "h": 304
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#9A4CE3
secondary
#C4E3A8
accent
#F03891
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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