#9A4CE1#9A4CE1

#9A4CE1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.218 H 304.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9A4CE1
RGBrgb(154, 76, 225)
HSLhsl(271, 71%, 59%)
HSVhsv(271, 66%, 88%)
CMYKcmyk(31.6%, 66.2%, 0%, 11.8%)
CIE-LABlab(48.85, 58.98, -63.26)
CIE-LCHlch(48.85, 86.49, 313.00°)
OKLaboklab(58.49% 0.1233 -0.1796)
OKLCHoklch(58.49% 0.218 304.5)
XYZxyz(29.4984, 17.4753, 73.0386)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CE1 #93E14C
analogous
#504CE1 #9A4CE1 #E14CDE
triadic
#9A4CE1 #E19A4C #4CE19A
tetradic
#9A4CE1 #E1504C #93E14C #4CDEE1
square
#9A4CE1 #E1504C #93E14C #4CDEE1
split-complementary
#9A4CE1 #DEE14C #4CE150
monochromatic
#5C1A99 #7C22CD #9A4CE1 #B880EA #D5B5F3

Accessibility & contrast

On white

4.67
#9A4CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9A4CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CE1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CE1#FFFFFF#000000##FFFFFF
##9A4CE11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#1874DE
Tritanopia (blue-blind)
#8D6D90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4ce1;
/* rgb */ color: rgb(154, 76, 225);
/* oklch */ color: oklch(58.5% 0.218 304.5);
Tailwind
colors: {
  custom: {
    50: '#bd83eb',
    500: '#9a4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ce1;
$custom-light: #bd83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ce1",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 271.409,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.21786,
    "h": 304.5
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#9A4CE1
secondary
#C3E2A7
accent
#EE3A90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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