#7D47CA#7D47CA

#7D47CA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.194 H 298.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D47CA
RGBrgb(125, 71, 202)
HSLhsl(265, 55%, 54%)
HSVhsv(265, 65%, 79%)
CMYKcmyk(38.1%, 64.9%, 0%, 20.8%)
CIE-LABlab(42.96, 49.90, -59.79)
CIE-LCHlch(42.96, 77.88, 309.84°)
OKLaboklab(53% 0.0924 -0.1703)
OKLCHoklch(53% 0.194 298.5)
XYZxyz(21.3687, 13.1304, 57.2743)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47CA #94CA47
analogous
#4752CA #7D47CA #BE47CA
triadic
#7D47CA #CA7D47 #47CA7D
tetradic
#7D47CA #CA4752 #94CA47 #47CABE
square
#7D47CA #CA4752 #94CA47 #47CABE
split-complementary
#7D47CA #CABE47 #52CA47
monochromatic
#442275 #602FA4 #7D47CA #9F77D8 #C0A6E5

Accessibility & contrast

On white

5.79
#7D47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47CA#FFFFFF#000000##FFFFFF
##7D47CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#6B6582
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d47ca;
/* rgb */ color: rgb(125, 71, 202);
/* oklch */ color: oklch(53.0% 0.194 298.5);
Tailwind
colors: {
  custom: {
    50: '#a87ddb',
    500: '#7d47ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d47ca;
$custom-light: #a87ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47ca",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 264.733,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.19377,
    "h": 298.5
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#7D47CA
secondary
#BBD29A
accent
#DF49A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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