#9C4FE7#9C4FE7

#9C4FE7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.221 H 303.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9C4FE7
RGBrgb(156, 79, 231)
HSLhsl(270, 76%, 61%)
HSVhsv(270, 66%, 91%)
CMYKcmyk(32.5%, 65.8%, 0%, 9.4%)
CIE-LABlab(50.01, 59.36, -64.77)
CIE-LCHlch(50.01, 87.86, 312.51°)
OKLaboklab(59.51% 0.1221 -0.1839)
OKLCHoklch(59.51% 0.221 303.6)
XYZxyz(30.9268, 18.4295, 77.5138)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FE7 #9AE74F
analogous
#504FE7 #9C4FE7 #E74FE6
triadic
#9C4FE7 #E79C4F #4FE79C
tetradic
#9C4FE7 #E7504F #9AE74F #4FE6E7
square
#9C4FE7 #E7504F #9AE74F #4FE6E7
split-complementary
#9C4FE7 #E6E74F #4FE750
monochromatic
#5F17A5 #7E1EDB #9C4FE7 #BA85EE #D9BBF6

Accessibility & contrast

On white

4.48
#9C4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9C4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FE7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FE7#FFFFFF#000000##000000
##9C4FE71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1477E4
Tritanopia (blue-blind)
#8E7195
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c4fe7;
/* rgb */ color: rgb(156, 79, 231);
/* oklch */ color: oklch(59.5% 0.221 303.6);
Tailwind
colors: {
  custom: {
    50: '#be85ef',
    500: '#9c4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fe7;
$custom-light: #be85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fe7",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 270.395,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.2208,
    "h": 303.6
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#9C4FE7
secondary
#C9E6AC
accent
#D80D71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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