#7D47BE#7D47BE

#7D47BE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.180 H 301.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7D47BE
RGBrgb(125, 71, 190)
HSLhsl(267, 48%, 51%)
HSVhsv(267, 63%, 75%)
CMYKcmyk(34.2%, 62.6%, 0%, 25.5%)
CIE-LABlab(42.13, 46.85, -54.16)
CIE-LCHlch(42.13, 71.61, 310.86°)
OKLaboklab(52.13% 0.0934 -0.1538)
OKLCHoklch(52.13% 0.18 301.3)
XYZxyz(20.0027, 12.5841, 50.0804)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47BE #88BE47
analogous
#474CBE #7D47BE #B847BE
triadic
#7D47BE #BE7D47 #47BE7D
tetradic
#7D47BE #BE474C #88BE47 #47BEB8
square
#7D47BE #BE474C #88BE47 #47BEB8
split-complementary
#7D47BE #BEB847 #4CBE47
monochromatic
#422466 #5F3494 #7D47BE #9D74CE #BDA1DE

Accessibility & contrast

On white

5.97
#7D47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7D47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47BE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47BE#FFFFFF#000000##FFFFFF
##7D47BE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#70617C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d47be;
/* rgb */ color: rgb(125, 71, 190);
/* oklch */ color: oklch(52.1% 0.180 301.3);
Tailwind
colors: {
  custom: {
    50: '#a77dd2',
    500: '#7d47be',
    950: '#000000',
  },
}
SCSS
$custom: #7d47be;
$custom-light: #a77dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47be",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 267.227,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.17989,
    "h": 301.3
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#7D47BE
secondary
#B3CB96
accent
#D7509A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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