#7D47C8#7D47C8

#7D47C8 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.191 H 298.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7D47C8
RGBrgb(125, 71, 200)
HSLhsl(265, 54%, 53%)
HSVhsv(265, 65%, 78%)
CMYKcmyk(37.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(42.82, 49.38, -58.86)
CIE-LCHlch(42.82, 76.84, 310.00°)
OKLaboklab(52.85% 0.0926 -0.1676)
OKLCHoklch(52.85% 0.191 298.9)
XYZxyz(21.1334, 13.0363, 56.0352)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47C8 #92C847
analogous
#4751C8 #7D47C8 #BD47C8
triadic
#7D47C8 #C87D47 #47C87D
tetradic
#7D47C8 #C84751 #92C847 #47C8BD
square
#7D47C8 #C84751 #92C847 #47C8BD
split-complementary
#7D47C8 #C8BD47 #51C847
monochromatic
#442272 #6030A2 #7D47C8 #9E76D6 #C0A5E4

Accessibility & contrast

On white

5.82
#7D47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7D47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47C8#FFFFFF#000000##FFFFFF
##7D47C81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#6C6481
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d47c8;
/* rgb */ color: rgb(125, 71, 200);
/* oklch */ color: oklch(52.8% 0.191 298.9);
Tailwind
colors: {
  custom: {
    50: '#a87dd9',
    500: '#7d47c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d47c8;
$custom-light: #a87dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47c8",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 265.116,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.19147,
    "h": 298.9
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#7D47C8
secondary
#BAD19A
accent
#DD4AA0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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