#9F4FDF#9F4FDF

#9F4FDF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.213 H 306.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F4FDF
RGBrgb(159, 79, 223)
HSLhsl(273, 69%, 59%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(28.7%, 64.6%, 0%, 12.5%)
CIE-LABlab(49.85, 58.15, -60.49)
CIE-LCHlch(49.85, 83.91, 313.87°)
OKLaboklab(59.3% 0.1268 -0.1713)
OKLCHoklch(59.3% 0.213 306.5)
XYZxyz(30.4105, 18.2909, 71.7262)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FDF #8FDF4F
analogous
#574FDF #9F4FDF #DF4FD7
triadic
#9F4FDF #DF9F4F #4FDF9F
tetradic
#9F4FDF #DF574F #8FDF4F #4FD7DF
square
#9F4FDF #DF574F #8FDF4F #4FD7DF
split-complementary
#9F4FDF #D7DF4F #4FDF57
monochromatic
#611C98 #8225CC #9F4FDF #BB83E8 #D7B7F2

Accessibility & contrast

On white

4.51
#9F4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9F4FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FDF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FDF#FFFFFF#000000##000000
##9F4FDF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#946E90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4fdf;
/* rgb */ color: rgb(159, 79, 223);
/* oklch */ color: oklch(59.3% 0.213 306.5);
Tailwind
colors: {
  custom: {
    50: '#c085ea',
    500: '#9f4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fdf;
$custom-light: #c085ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fdf",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 273.333,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.21309,
    "h": 306.5
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#9F4FDF
secondary
#C2E1A9
accent
#EC3C8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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