#9F4FDA#9F4FDA

#9F4FDA is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.208 H 307.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F4FDA
RGBrgb(159, 79, 218)
HSLhsl(275, 65%, 58%)
HSVhsv(275, 64%, 85%)
CMYKcmyk(27.1%, 63.8%, 0%, 14.5%)
CIE-LABlab(49.53, 57.03, -58.17)
CIE-LCHlch(49.53, 81.46, 314.43°)
OKLaboklab(58.97% 0.1271 -0.1645)
OKLCHoklch(58.97% 0.208 307.7)
XYZxyz(29.7463, 18.0252, 68.2282)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FDA #8ADA4F
analogous
#594FDA #9F4FDA #DA4FD0
triadic
#9F4FDA #DA9F4F #4FDA9F
tetradic
#9F4FDA #DA594F #8ADA4F #4FD0DA
square
#9F4FDA #DA594F #8ADA4F #4FD0DA
split-complementary
#9F4FDA #D0DA4F #4FDA59
monochromatic
#601E90 #8229C3 #9F4FDA #BB82E5 #D6B4EF

Accessibility & contrast

On white

4.56
#9F4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9F4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FDA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FDA#FFFFFF#000000##000000
##9F4FDA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3477D7
Tritanopia (blue-blind)
#966C8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4fda;
/* rgb */ color: rgb(159, 79, 218);
/* oklch */ color: oklch(59.0% 0.208 307.7);
Tailwind
colors: {
  custom: {
    50: '#bf85e6',
    500: '#9f4fda',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fda;
$custom-light: #bf85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fda",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 274.532,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.20785,
    "h": 307.7
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

primary
#9F4FDA
secondary
#BEDEA7
accent
#E84087
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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