#9C4FDB#9C4FDB

#9C4FDB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.208 H 306.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9C4FDB
RGBrgb(156, 79, 219)
HSLhsl(273, 66%, 58%)
HSVhsv(273, 64%, 86%)
CMYKcmyk(28.8%, 63.9%, 0%, 14.1%)
CIE-LABlab(49.22, 56.60, -59.25)
CIE-LCHlch(49.22, 81.94, 313.69°)
OKLaboklab(58.68% 0.1232 -0.1677)
OKLCHoklch(58.68% 0.208 306.3)
XYZxyz(29.2897, 17.7746, 68.8919)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FDB #8EDB4F
analogous
#564FDB #9C4FDB #DB4FD4
triadic
#9C4FDB #DB9C4F #4FDB9C
tetradic
#9C4FDB #DB564F #8EDB4F #4FD4DB
square
#9C4FDB #DB564F #8EDB4F #4FD4DB
split-complementary
#9C4FDB #D4DB4F #4FDB56
monochromatic
#5E1E92 #7E28C5 #9C4FDB #B982E5 #D5B5F0

Accessibility & contrast

On white

4.61
#9C4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9C4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FDB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FDB#FFFFFF#000000##FFFFFF
##9C4FDB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2F75D8
Tritanopia (blue-blind)
#916C8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4fdb;
/* rgb */ color: rgb(156, 79, 219);
/* oklch */ color: oklch(58.7% 0.208 306.3);
Tailwind
colors: {
  custom: {
    50: '#bd85e7',
    500: '#9c4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fdb;
$custom-light: #bd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fdb",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 273,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.20809,
    "h": 306.3
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#9C4FDB
secondary
#C0DFA7
accent
#E93F8B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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