#9C4BDF#9C4BDF

#9C4BDF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.217 H 305.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9C4BDF
RGBrgb(156, 75, 223)
HSLhsl(273, 70%, 58%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(30%, 66.4%, 0%, 12.5%)
CIE-LABlab(48.79, 59.41, -62.21)
CIE-LCHlch(48.79, 86.02, 313.68°)
OKLaboklab(58.46% 0.1272 -0.1764)
OKLCHoklch(58.46% 0.218 305.8)
XYZxyz(29.5428, 17.4280, 71.6053)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BDF #8EDF4B
analogous
#524BDF #9C4BDF #DF4BD8
triadic
#9C4BDF #DF9C4B #4BDF9C
tetradic
#9C4BDF #DF524B #8EDF4B #4BD8DF
square
#9C4BDF #DF524B #8EDF4B #4BD8DF
split-complementary
#9C4BDF #D8DF4B #4BDF52
monochromatic
#5E1B95 #7E24C9 #9C4BDF #B97FE8 #D5B3F1

Accessibility & contrast

On white

4.68
#9C4BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C4BDF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BDF#FFFFFF#000000##FFFFFF
##9C4BDF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#2074DC
Tritanopia (blue-blind)
#906B8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4bdf;
/* rgb */ color: rgb(156, 75, 223);
/* oklch */ color: oklch(58.5% 0.217 305.8);
Tailwind
colors: {
  custom: {
    50: '#be83ea',
    500: '#9c4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bdf;
$custom-light: #be83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bdf",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 272.838,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.2175,
    "h": 305.8
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#9C4BDF
secondary
#C0E0A6
accent
#ED3B8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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