#9A47DF#9A47DF

#9A47DF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.222 H 305.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9A47DF
RGBrgb(154, 71, 223)
HSLhsl(273, 70%, 58%)
HSVhsv(273, 68%, 87%)
CMYKcmyk(30.9%, 68.2%, 0%, 12.5%)
CIE-LABlab(47.89, 60.84, -63.69)
CIE-LCHlch(47.89, 88.08, 313.69°)
OKLaboklab(57.76% 0.1288 -0.1808)
OKLCHoklch(57.76% 0.222 305.5)
XYZxyz(28.8960, 16.7044, 71.4997)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47DF #8CDF47
analogous
#4E47DF #9A47DF #DF47D8
triadic
#9A47DF #DF9A47 #47DF9A
tetradic
#9A47DF #DF4E47 #8CDF47 #47D8DF
square
#9A47DF #DF4E47 #8CDF47 #47D8DF
split-complementary
#9A47DF #D8DF47 #47DF4E
monochromatic
#5B1992 #7C22C6 #9A47DF #B77BE8 #D3AFF1

Accessibility & contrast

On white

4.84
#9A47DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9A47DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47DF#FFFFFF#000000##FFFFFF
##9A47DF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#8E698E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a47df;
/* rgb */ color: rgb(154, 71, 223);
/* oklch */ color: oklch(57.8% 0.222 305.5);
Tailwind
colors: {
  custom: {
    50: '#bd80ea',
    500: '#9a47df',
    950: '#000000',
  },
}
SCSS
$custom: #9a47df;
$custom-light: #bd80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47df",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 272.763,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.22202,
    "h": 305.5
  },
  "luminance": 0.16704
}

Semantic roles & 50–950 ramp

primary
#9A47DF
secondary
#BEDFA2
accent
#ED3B8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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