#9F47DB#9F47DB

#9F47DB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.219 H 308.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9F47DB
RGBrgb(159, 71, 219)
HSLhsl(276, 67%, 57%)
HSVhsv(276, 68%, 86%)
CMYKcmyk(27.4%, 67.6%, 0%, 14.1%)
CIE-LABlab(48.25, 60.96, -60.79)
CIE-LCHlch(48.25, 86.09, 315.08°)
OKLaboklab(58.07% 0.1358 -0.1721)
OKLCHoklch(58.07% 0.219 308.3)
XYZxyz(29.3349, 16.9923, 68.7386)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47DB #83DB47
analogous
#5547DB #9F47DB #DB47CD
triadic
#9F47DB #DB9F47 #47DB9F
tetradic
#9F47DB #DB5547 #83DB47 #47CDDB
square
#9F47DB #DB5547 #83DB47 #47CDDB
split-complementary
#9F47DB #CDDB47 #47DB55
monochromatic
#5E1B8C #8125BF #9F47DB #BA7AE5 #D4ADEF

Accessibility & contrast

On white

4.77
#9F47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9F47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47DB#FFFFFF#000000##FFFFFF
##9F47DB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#96678C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f47db;
/* rgb */ color: rgb(159, 71, 219);
/* oklch */ color: oklch(58.1% 0.219 308.3);
Tailwind
colors: {
  custom: {
    50: '#c080e7',
    500: '#9f47db',
    950: '#000000',
  },
}
SCSS
$custom: #9f47db;
$custom-light: #c080e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47db",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 275.676,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.21926,
    "h": 308.3
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#9F47DB
secondary
#B9DDA1
accent
#EA3E84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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