#9C4FE6#9C4FE6

#9C4FE6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.220 H 303.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9C4FE6
RGBrgb(156, 79, 230)
HSLhsl(271, 75%, 61%)
HSVhsv(271, 66%, 90%)
CMYKcmyk(32.2%, 65.7%, 0%, 9.8%)
CIE-LABlab(49.95, 59.13, -64.31)
CIE-LCHlch(49.95, 87.36, 312.60°)
OKLaboklab(59.44% 0.1222 -0.1826)
OKLCHoklch(59.44% 0.22 303.8)
XYZxyz(30.7860, 18.3731, 76.7721)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FE6 #99E64F
analogous
#504FE6 #9C4FE6 #E64FE4
triadic
#9C4FE6 #E69C4F #4FE69C
tetradic
#9C4FE6 #E6504F #99E64F #4FE4E6
square
#9C4FE6 #E6504F #99E64F #4FE4E6
split-complementary
#9C4FE6 #E4E64F #4FE650
monochromatic
#5F17A3 #7E1FD9 #9C4FE6 #BA85EE #D8BAF5

Accessibility & contrast

On white

4.49
#9C4FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9C4FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FE6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FE6#FFFFFF#000000##000000
##9C4FE61.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#1877E3
Tritanopia (blue-blind)
#8E7094
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c4fe6;
/* rgb */ color: rgb(156, 79, 230);
/* oklch */ color: oklch(59.4% 0.220 303.8);
Tailwind
colors: {
  custom: {
    50: '#be85ef',
    500: '#9c4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fe6;
$custom-light: #be85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fe6",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 270.596,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.21974,
    "h": 303.8
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#9C4FE6
secondary
#C8E5AC
accent
#D70E71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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