#7D47CE#7D47CE

#7D47CE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.198 H 297.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7D47CE
RGBrgb(125, 71, 206)
HSLhsl(264, 58%, 54%)
HSVhsv(264, 66%, 81%)
CMYKcmyk(39.3%, 65.5%, 0%, 19.2%)
CIE-LABlab(43.24, 50.92, -61.64)
CIE-LCHlch(43.24, 79.95, 309.56°)
OKLaboklab(53.29% 0.092 -0.1758)
OKLCHoklch(53.29% 0.198 297.6)
XYZxyz(21.8484, 13.3223, 59.8009)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47CE #98CE47
analogous
#4755CE #7D47CE #C147CE
triadic
#7D47CE #CE7D47 #47CE7D
tetradic
#7D47CE #CE4755 #98CE47 #47CEC1
square
#7D47CE #CE4755 #98CE47 #47CEC1
split-complementary
#7D47CE #CEC147 #55CE47
monochromatic
#44217A #5F2DAA #7D47CE #9F77DB #C1A8E8

Accessibility & contrast

On white

5.73
#7D47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7D47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47CE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47CE#FFFFFF#000000##FFFFFF
##7D47CE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#696684
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d47ce;
/* rgb */ color: rgb(125, 71, 206);
/* oklch */ color: oklch(53.3% 0.198 297.6);
Tailwind
colors: {
  custom: {
    50: '#a87dde',
    500: '#7d47ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d47ce;
$custom-light: #a87dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47ce",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 264,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.19837,
    "h": 297.6
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#7D47CE
secondary
#BED59C
accent
#E147A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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