#9F47DD#9F47DD

#9F47DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.221 H 307.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9F47DD
RGBrgb(159, 71, 221)
HSLhsl(275, 69%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.1%, 67.9%, 0%, 13.3%)
CIE-LABlab(48.38, 61.40, -61.72)
CIE-LCHlch(48.38, 87.05, 314.85°)
OKLaboklab(58.21% 0.1356 -0.1748)
OKLCHoklch(58.21% 0.221 307.8)
XYZxyz(29.5997, 17.0983, 70.1336)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47DD #85DD47
analogous
#5447DD #9F47DD #DD47D0
triadic
#9F47DD #DD9F47 #47DD9F
tetradic
#9F47DD #DD5447 #85DD47 #47D0DD
square
#9F47DD #DD5447 #85DD47 #47D0DD
split-complementary
#9F47DD #D0DD47 #47DD54
monochromatic
#5F1A8F #8124C3 #9F47DD #BA7BE7 #D5AEF0

Accessibility & contrast

On white

4.75
#9F47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9F47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47DD#FFFFFF#000000##FFFFFF
##9F47DD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#2374DA
Tritanopia (blue-blind)
#95688D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f47dd;
/* rgb */ color: rgb(159, 71, 221);
/* oklch */ color: oklch(58.2% 0.221 307.8);
Tailwind
colors: {
  custom: {
    50: '#c081e8',
    500: '#9f47dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f47dd;
$custom-light: #c081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47dd",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 275.2,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.22126,
    "h": 307.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#9F47DD
secondary
#BBDEA2
accent
#EC3C85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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