#9F4FD2#9F4FD2

#9F4FD2 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.4% C 0.199 H 309.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9F4FD2
RGBrgb(159, 79, 210)
HSLhsl(277, 59%, 57%)
HSVhsv(277, 62%, 82%)
CMYKcmyk(24.3%, 62.4%, 0%, 17.6%)
CIE-LABlab(49.03, 55.25, -54.41)
CIE-LCHlch(49.03, 77.54, 315.44°)
OKLaboklab(58.44% 0.1275 -0.1534)
OKLCHoklch(58.44% 0.199 309.7)
XYZxyz(28.7247, 17.6166, 62.8474)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FD2 #82D24F
analogous
#5E4FD2 #9F4FD2 #D24FC4
triadic
#9F4FD2 #D29F4F #4FD29F
tetradic
#9F4FD2 #D25E4F #82D24F #4FC4D2
square
#9F4FD2 #D25E4F #82D24F #4FC4D2
split-complementary
#9F4FD2 #C4D24F #4FD25E
monochromatic
#5E2285 #812EB5 #9F4FD2 #BA80DE #D4B0EB

Accessibility & contrast

On white

4.64
#9F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F4FD2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FD2#FFFFFF#000000##FFFFFF
##9F4FD21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A71D6
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#986989
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4fd2;
/* rgb */ color: rgb(159, 79, 210);
/* oklch */ color: oklch(58.4% 0.199 309.7);
Tailwind
colors: {
  custom: {
    50: '#bf85e0',
    500: '#9f4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fd2;
$custom-light: #bf85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fd2",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 276.641,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.19947,
    "h": 309.7
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#9F4FD2
secondary
#B8D9A4
accent
#E24583
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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