#9C4FD5#9C4FD5

#9C4FD5 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.202 H 307.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9C4FD5
RGBrgb(156, 79, 213)
HSLhsl(274, 61%, 57%)
HSVhsv(274, 63%, 84%)
CMYKcmyk(26.8%, 62.9%, 0%, 16.5%)
CIE-LABlab(48.84, 55.23, -56.44)
CIE-LCHlch(48.84, 78.97, 314.38°)
OKLaboklab(58.29% 0.1235 -0.1595)
OKLCHoklch(58.29% 0.202 307.8)
XYZxyz(28.5141, 17.4644, 64.8067)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FD5 #88D54F
analogous
#594FD5 #9C4FD5 #D54FCB
triadic
#9C4FD5 #D59C4F #4FD59C
tetradic
#9C4FD5 #D5594F #88D54F #4FCBD5
square
#9C4FD5 #D5594F #88D54F #4FCBD5
split-complementary
#9C4FD5 #CBD54F #4FD559
monochromatic
#5D2189 #7E2CBA #9C4FD5 #B880E1 #D4B2ED

Accessibility & contrast

On white

4.67
#9C4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9C4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FD5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FD5#FFFFFF#000000##FFFFFF
##9C4FD51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3775D2
Tritanopia (blue-blind)
#936A8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4fd5;
/* rgb */ color: rgb(156, 79, 213);
/* oklch */ color: oklch(58.3% 0.202 307.8);
Tailwind
colors: {
  custom: {
    50: '#bd85e3',
    500: '#9c4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fd5;
$custom-light: #bd85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fd5",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 274.478,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.20173,
    "h": 307.8
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#9C4FD5
secondary
#BCDBA5
accent
#E54388
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9C4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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