#9F47FF#9F47FF

#9F47FF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.7% C 0.255 H 300.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9F47FF
RGBrgb(159, 71, 255)
HSLhsl(269, 100%, 64%)
HSVhsv(269, 72%, 100%)
CMYKcmyk(37.6%, 72.2%, 0%, 0%)
CIE-LABlab(50.80, 69.07, -76.91)
CIE-LCHlch(50.80, 103.37, 311.93°)
OKLaboklab(60.68% 0.1302 -0.2195)
OKLCHoklch(60.68% 0.255 300.7)
XYZxyz(34.5969, 19.0971, 96.4518)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47FF #A7FF47
analogous
#474BFF #9F47FF #FB47FF
triadic
#9F47FF #FF9F47 #47FF9F
tetradic
#9F47FF #FF474B #A7FF47 #47FFFB
square
#9F47FF #FF474B #A7FF47 #47FFFB
split-complementary
#9F47FF #FFFB47 #4BFF47
monochromatic
#6100CC #7F0AFF #9F47FF #BF84FF #DFC1FF

Accessibility & contrast

On white

4.36
#9F47FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9F47FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F47FF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47FF#FFFFFF#000000##000000
##9F47FF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#89759F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f47ff;
/* rgb */ color: rgb(159, 71, 255);
/* oklch */ color: oklch(60.7% 0.255 300.7);
Tailwind
colors: {
  custom: {
    50: '#c282ff',
    500: '#9f47ff',
    950: '#000000',
  },
}
SCSS
$custom: #9f47ff;
$custom-light: #c282ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47ff",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 255
  },
  "hsl": {
    "h": 268.696,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.25521,
    "h": 300.7
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#9F47FF
secondary
#D2F1B1
accent
#E60078
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #9F47FF

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

Preview Lab → · Contrast checker → · Palette generator →

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