#9F4CDE#9F4CDE

#9F4CDE is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.216 H 307.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F4CDE
RGBrgb(159, 76, 222)
HSLhsl(274, 69%, 58%)
HSVhsv(274, 66%, 87%)
CMYKcmyk(28.4%, 65.8%, 0%, 12.9%)
CIE-LABlab(49.27, 59.34, -60.86)
CIE-LCHlch(49.27, 85.00, 314.28°)
OKLaboklab(58.86% 0.1301 -0.1723)
OKLCHoklch(58.86% 0.216 307.1)
XYZxyz(30.0646, 17.8141, 70.9477)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CDE #8BDE4C
analogous
#564CDE #9F4CDE #DE4CD4
triadic
#9F4CDE #DE9F4C #4CDE9F
tetradic
#9F4CDE #DE564C #8BDE4C #4CD4DE
square
#9F4CDE #DE564C #8BDE4C #4CD4DE
split-complementary
#9F4CDE #D4DE4C #4CDE56
monochromatic
#601B94 #8225C8 #9F4CDE #BB80E8 #D6B3F1

Accessibility & contrast

On white

4.60
#9F4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9F4CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CDE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CDE#FFFFFF#000000##FFFFFF
##9F4CDE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#2A76DB
Tritanopia (blue-blind)
#956B8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4cde;
/* rgb */ color: rgb(159, 76, 222);
/* oklch */ color: oklch(58.9% 0.216 307.1);
Tailwind
colors: {
  custom: {
    50: '#c083e9',
    500: '#9f4cde',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cde;
$custom-light: #c083e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cde",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 274.11,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.21597,
    "h": 307.1
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#9F4CDE
secondary
#BFE0A6
accent
#EC3C88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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