#9F4CDD#9F4CDD

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

Color values

HEX#9F4CDD
RGBrgb(159, 76, 221)
HSLhsl(274, 68%, 58%)
HSVhsv(274, 66%, 87%)
CMYKcmyk(28.1%, 65.6%, 0%, 13.3%)
CIE-LABlab(49.20, 59.12, -60.39)
CIE-LCHlch(49.20, 84.51, 314.39°)
OKLaboklab(58.79% 0.1302 -0.171)
OKLCHoklch(58.79% 0.215 307.3)
XYZxyz(29.9309, 17.7606, 70.2440)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CDD #8ADD4C
analogous
#564CDD #9F4CDD #DD4CD2
triadic
#9F4CDD #DD9F4C #4CDD9F
tetradic
#9F4CDD #DD564C #8ADD4C #4CD2DD
square
#9F4CDD #DD564C #8ADD4C #4CD2DD
split-complementary
#9F4CDD #D2DD4C #4CDD56
monochromatic
#601C93 #8226C6 #9F4CDD #BB7FE7 #D6B3F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F4CDD#FFFFFF#000000##FFFFFF
##9F4CDD1.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)
#0072E1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#956B8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4cdd;
/* rgb */ color: rgb(159, 76, 221);
/* oklch */ color: oklch(58.8% 0.215 307.3);
Tailwind
colors: {
  custom: {
    50: '#c083e8',
    500: '#9f4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cdd;
$custom-light: #c083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cdd",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 274.345,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.21493,
    "h": 307.3
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#9F4CDD
secondary
#BEDFA6
accent
#EB3D87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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