#7D47A7#7D47A7

#7D47A7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.153 H 307.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7D47A7
RGBrgb(125, 71, 167)
HSLhsl(274, 40%, 47%)
HSVhsv(274, 57%, 65%)
CMYKcmyk(25.1%, 57.5%, 0%, 34.5%)
CIE-LABlab(40.67, 41.20, -42.95)
CIE-LCHlch(40.67, 59.52, 313.80°)
OKLaboklab(50.6% 0.0938 -0.1209)
OKLCHoklch(50.6% 0.153 307.8)
XYZxyz(17.6843, 11.6567, 37.8701)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47A7 #71A747
analogous
#4D47A7 #7D47A7 #A747A1
triadic
#7D47A7 #A77D47 #47A77D
tetradic
#7D47A7 #A74D47 #71A747 #47A1A7
square
#7D47A7 #A74D47 #71A747 #47A1A7
split-complementary
#7D47A7 #A1A747 #47A74D
monochromatic
#3D2251 #5D357C #7D47A7 #9B6BC0 #B896D2

Accessibility & contrast

On white

6.30
#7D47A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D47A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47A7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47A7#FFFFFF#000000##FFFFFF
##7D47A71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#3960A5
Tritanopia (blue-blind)
#775970
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d47a7;
/* rgb */ color: rgb(125, 71, 167);
/* oklch */ color: oklch(50.6% 0.153 307.8);
Tailwind
colors: {
  custom: {
    50: '#a57cc2',
    500: '#7d47a7',
    950: '#000000',
  },
}
SCSS
$custom: #7d47a7;
$custom-light: #a57cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47a7",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 273.75,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.15299,
    "h": 307.8
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#7D47A7
secondary
#A2BE8B
accent
#D0588C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #7D47A7

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

Preview Lab → · Contrast checker → · Palette generator →

#7D47A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva