#9F4CDA#9F4CDA

#9F4CDA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.212 H 308.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F4CDA
RGBrgb(159, 76, 218)
HSLhsl(275, 66%, 58%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(27.1%, 65.1%, 0%, 14.5%)
CIE-LABlab(49.01, 58.45, -59.00)
CIE-LCHlch(49.01, 83.05, 314.73°)
OKLaboklab(58.59% 0.1305 -0.1669)
OKLCHoklch(58.59% 0.212 308)
XYZxyz(29.5348, 17.6022, 68.1577)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CDA #87DA4C
analogous
#584CDA #9F4CDA #DA4CCE
triadic
#9F4CDA #DA9F4C #4CDA9F
tetradic
#9F4CDA #DA584C #87DA4C #4CCEDA
square
#9F4CDA #DA584C #87DA4C #4CCEDA
split-complementary
#9F4CDA #CEDA4C #4CDA58
monochromatic
#5F1D8E #8128C1 #9F4CDA #BA7FE4 #D5B1EF

Accessibility & contrast

On white

4.65
#9F4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9F4CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CDA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CDA#FFFFFF#000000##FFFFFF
##9F4CDA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#966A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4cda;
/* rgb */ color: rgb(159, 76, 218);
/* oklch */ color: oklch(58.6% 0.212 308.0);
Tailwind
colors: {
  custom: {
    50: '#c083e6',
    500: '#9f4cda',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cda;
$custom-light: #c083e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cda",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 275.07,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.21184,
    "h": 308
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#9F4CDA
secondary
#BCDDA4
accent
#E93F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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