#9D47CF#9D47CF

#9D47CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.207 H 310.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9D47CF
RGBrgb(157, 71, 207)
HSLhsl(278, 59%, 55%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(24.2%, 65.7%, 0%, 18.8%)
CIE-LABlab(47.21, 57.92, -55.62)
CIE-LCHlch(47.21, 80.30, 316.16°)
OKLaboklab(57.02% 0.1343 -0.157)
OKLCHoklch(57.02% 0.207 310.5)
XYZxyz(27.4182, 16.1802, 60.6981)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47CF #79CF47
analogous
#5947CF #9D47CF #CF47BD
triadic
#9D47CF #CF9D47 #47CF9D
tetradic
#9D47CF #CF5947 #79CF47 #47BDCF
square
#9D47CF #CF5947 #79CF47 #47BDCF
split-complementary
#9D47CF #BDCF47 #47CF59
monochromatic
#5A207B #7D2DAC #9D47CF #B778DC #D1A8E8

Accessibility & contrast

On white

4.96
#9D47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9D47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47CF#FFFFFF#000000##FFFFFF
##9D47CF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#966385
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d47cf;
/* rgb */ color: rgb(157, 71, 207);
/* oklch */ color: oklch(57.0% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#be80de',
    500: '#9d47cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d47cf;
$custom-light: #be80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47cf",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 277.941,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.20661,
    "h": 310.5
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#9D47CF
secondary
#B1D69C
accent
#E2467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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