#9C4FDA#9C4FDA

#9C4FDA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.207 H 306.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9C4FDA
RGBrgb(156, 79, 218)
HSLhsl(273, 65%, 58%)
HSVhsv(273, 64%, 85%)
CMYKcmyk(28.4%, 63.8%, 0%, 14.5%)
CIE-LABlab(49.16, 56.37, -58.78)
CIE-LCHlch(49.16, 81.44, 313.80°)
OKLaboklab(58.62% 0.1232 -0.1664)
OKLCHoklch(58.62% 0.207 306.5)
XYZxyz(29.1585, 17.7221, 68.2007)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FDA #8DDA4F
analogous
#564FDA #9C4FDA #DA4FD3
triadic
#9C4FDA #DA9C4F #4FDA9C
tetradic
#9C4FDA #DA564F #8DDA4F #4FD3DA
square
#9C4FDA #DA564F #8DDA4F #4FD3DA
split-complementary
#9C4FDA #D3DA4F #4FDA56
monochromatic
#5D1E90 #7E29C3 #9C4FDA #B882E5 #D5B4EF

Accessibility & contrast

On white

4.62
#9C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9C4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FDA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FDA#FFFFFF#000000##FFFFFF
##9C4FDA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#926C8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4fda;
/* rgb */ color: rgb(156, 79, 218);
/* oklch */ color: oklch(58.6% 0.207 306.5);
Tailwind
colors: {
  custom: {
    50: '#bd85e6',
    500: '#9c4fda',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fda;
$custom-light: #bd85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fda",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 273.237,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.20704,
    "h": 306.5
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#9C4FDA
secondary
#BFDEA7
accent
#E8408B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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