#9F47E0#9F47E0

#9F47E0 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.224 H 307.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F47E0
RGBrgb(159, 71, 224)
HSLhsl(275, 71%, 58%)
HSVhsv(275, 68%, 88%)
CMYKcmyk(29%, 68.3%, 0%, 12.2%)
CIE-LABlab(48.59, 62.06, -63.10)
CIE-LCHlch(48.59, 88.50, 314.52°)
OKLaboklab(58.41% 0.1352 -0.1789)
OKLCHoklch(58.41% 0.224 307.1)
XYZxyz(30.0030, 17.2596, 72.2574)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47E0 #88E047
analogous
#5247E0 #9F47E0 #E047D4
triadic
#9F47E0 #E09F47 #47E09F
tetradic
#9F47E0 #E05247 #88E047 #47D4E0
square
#9F47E0 #E05247 #88E047 #47D4E0
split-complementary
#9F47E0 #D4E047 #47E052
monochromatic
#601994 #8122C8 #9F47E0 #BA7BE9 #D6B0F2

Accessibility & contrast

On white

4.72
#9F47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9F47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47E0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47E0#FFFFFF#000000##FFFFFF
##9F47E01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1C74DD
Tritanopia (blue-blind)
#94698E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f47e0;
/* rgb */ color: rgb(159, 71, 224);
/* oklch */ color: oklch(58.4% 0.224 307.1);
Tailwind
colors: {
  custom: {
    50: '#c081eb',
    500: '#9f47e0',
    950: '#000000',
  },
}
SCSS
$custom: #9f47e0;
$custom-light: #c081eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47e0",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 274.51,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.22427,
    "h": 307.1
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#9F47E0
secondary
#BDE0A3
accent
#EE3A86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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