#9A4CEC#9A4CEC

#9A4CEC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.229 H 302.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9A4CEC
RGBrgb(154, 76, 236)
HSLhsl(269, 81%, 61%)
HSVhsv(269, 68%, 93%)
CMYKcmyk(34.7%, 67.8%, 0%, 7.5%)
CIE-LABlab(49.61, 61.54, -68.24)
CIE-LCHlch(49.61, 91.90, 312.04°)
OKLaboklab(59.27% 0.122 -0.1942)
OKLCHoklch(59.27% 0.229 302.1)
XYZxyz(31.0476, 18.0949, 81.1976)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CEC #9EEC4C
analogous
#4C4EEC #9A4CEC #EA4CEC
triadic
#9A4CEC #EC9A4C #4CEC9A
tetradic
#9A4CEC #EC4C4E #9EEC4C #4CECEA
square
#9A4CEC #EC4C4E #9EEC4C #4CECEA
split-complementary
#9A4CEC #ECEA4C #4EEC4C
monochromatic
#5D12AB #7B18E3 #9A4CEC #B983F2 #D8BBF8

Accessibility & contrast

On white

4.55
#9A4CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9A4CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4CEC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CEC#FFFFFF#000000##000000
##9A4CEC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#897196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a4cec;
/* rgb */ color: rgb(154, 76, 236);
/* oklch */ color: oklch(59.3% 0.229 302.1);
Tailwind
colors: {
  custom: {
    50: '#bd83f3',
    500: '#9a4cec',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cec;
$custom-light: #bd83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cec",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 269.25,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.22937,
    "h": 302.1
  },
  "luminance": 0.18095
}

Semantic roles & 50–950 ramp

primary
#9A4CEC
secondary
#CBE8AC
accent
#DD0875
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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