#9C4FD2#9C4FD2

#9C4FD2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.1% C 0.199 H 308.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9C4FD2
RGBrgb(156, 79, 210)
HSLhsl(275, 59%, 57%)
HSVhsv(275, 62%, 82%)
CMYKcmyk(25.7%, 62.4%, 0%, 17.6%)
CIE-LABlab(48.65, 54.56, -55.03)
CIE-LCHlch(48.65, 77.49, 314.75°)
OKLaboklab(58.09% 0.1237 -0.1553)
OKLCHoklch(58.09% 0.199 308.5)
XYZxyz(28.1368, 17.3135, 62.8199)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FD2 #85D24F
analogous
#5B4FD2 #9C4FD2 #D24FC7
triadic
#9C4FD2 #D29C4F #4FD29C
tetradic
#9C4FD2 #D25B4F #85D24F #4FC7D2
square
#9C4FD2 #D25B4F #85D24F #4FC7D2
split-complementary
#9C4FD2 #C7D24F #4FD25B
monochromatic
#5C2285 #7E2EB5 #9C4FD2 #B780DE #D3B0EB

Accessibility & contrast

On white

4.71
#9C4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9C4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FD2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FD2#FFFFFF#000000##FFFFFF
##9C4FD21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#3A74CF
Tritanopia (blue-blind)
#946989
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4fd2;
/* rgb */ color: rgb(156, 79, 210);
/* oklch */ color: oklch(58.1% 0.199 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd85e0',
    500: '#9c4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fd2;
$custom-light: #bd85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fd2",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 275.267,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.19855,
    "h": 308.5
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#9C4FD2
secondary
#BAD9A4
accent
#E24586
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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