#9C47F0#9C47F0

#9C47F0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.240 H 302.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9C47F0
RGBrgb(156, 71, 240)
HSLhsl(270, 85%, 61%)
HSVhsv(270, 70%, 94%)
CMYKcmyk(35%, 70.4%, 0%, 5.9%)
CIE-LABlab(49.33, 65.09, -70.93)
CIE-LCHlch(49.33, 96.27, 312.54°)
OKLaboklab(59.22% 0.129 -0.202)
OKLCHoklch(59.22% 0.24 302.5)
XYZxyz(31.6880, 17.8656, 84.2002)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47F0 #9BF047
analogous
#4747F0 #9C47F0 #F047EF
triadic
#9C47F0 #F09C47 #47F09C
tetradic
#9C47F0 #F04747 #9BF047 #47EFF0
square
#9C47F0 #F04747 #9BF047 #47EFF0
split-complementary
#9C47F0 #EFF047 #47F047
monochromatic
#5F0EAE #7E13E7 #9C47F0 #BA80F5 #D9B8F9

Accessibility & contrast

On white

4.59
#9C47F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9C47F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47F0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47F0#FFFFFF#000000##FFFFFF
##9C47F01.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#8B7097
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c47f0;
/* rgb */ color: rgb(156, 71, 240);
/* oklch */ color: oklch(59.2% 0.240 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf81f6',
    500: '#9c47f0',
    950: '#000000',
  },
}
SCSS
$custom: #9c47f0;
$custom-light: #bf81f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47f0",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 270.178,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.23968,
    "h": 302.5
  },
  "luminance": 0.17866
}

Semantic roles & 50–950 ramp

primary
#9C47F0
secondary
#C9E9AA
accent
#E10472
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C47F0

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

Preview Lab → · Contrast checker → · Palette generator →

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