#9F47E2#9F47E2

#9F47E2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.226 H 306.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9F47E2
RGBrgb(159, 71, 226)
HSLhsl(274, 73%, 58%)
HSVhsv(274, 69%, 89%)
CMYKcmyk(29.6%, 68.6%, 0%, 11.4%)
CIE-LABlab(48.72, 62.50, -64.01)
CIE-LCHlch(48.72, 89.46, 314.32°)
OKLaboklab(58.55% 0.135 -0.1816)
OKLCHoklch(58.55% 0.226 306.6)
XYZxyz(30.2758, 17.3687, 73.6943)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47E2 #8AE247
analogous
#5147E2 #9F47E2 #E247D7
triadic
#9F47E2 #E29F47 #47E29F
tetradic
#9F47E2 #E25147 #8AE247 #47D7E2
square
#9F47E2 #E25147 #8AE247 #47D7E2
split-complementary
#9F47E2 #D7E247 #47E251
monochromatic
#601897 #8220CC #9F47E2 #BB7CEA #D6B1F3

Accessibility & contrast

On white

4.69
#9F47E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9F47E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47E2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47E2#FFFFFF#000000##FFFFFF
##9F47E21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1674DF
Tritanopia (blue-blind)
#946A8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f47e2;
/* rgb */ color: rgb(159, 71, 226);
/* oklch */ color: oklch(58.6% 0.226 306.6);
Tailwind
colors: {
  custom: {
    50: '#c081ec',
    500: '#9f47e2',
    950: '#000000',
  },
}
SCSS
$custom: #9f47e2;
$custom-light: #c081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47e2",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 274.065,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.22627,
    "h": 306.6
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#9F47E2
secondary
#BEE1A4
accent
#EF3887
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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