#7D47D6#7D47D6

#7D47D6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.207 H 296.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7D47D6
RGBrgb(125, 71, 214)
HSLhsl(263, 64%, 56%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(41.6%, 66.8%, 0%, 16.1%)
CIE-LABlab(43.83, 52.99, -65.29)
CIE-LCHlch(43.83, 84.09, 309.06°)
OKLaboklab(53.9% 0.091 -0.1865)
OKLCHoklch(53.9% 0.207 296)
XYZxyz(22.8451, 13.7210, 65.0501)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47D6 #A0D647
analogous
#4758D6 #7D47D6 #C447D6
triadic
#7D47D6 #D67D47 #47D67D
tetradic
#7D47D6 #D64758 #A0D647 #47D6C4
square
#7D47D6 #D64758 #A0D647 #47D6C4
split-complementary
#7D47D6 #D6C447 #58D647
monochromatic
#451E85 #5E29B7 #7D47D6 #A079E1 #C4ABEC

Accessibility & contrast

On white

5.61
#7D47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7D47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47D6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47D6#FFFFFF#000000##FFFFFF
##7D47D61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#666989
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d47d6;
/* rgb */ color: rgb(125, 71, 214);
/* oklch */ color: oklch(53.9% 0.207 296.0);
Tailwind
colors: {
  custom: {
    50: '#a97ee4',
    500: '#7d47d6',
    950: '#000000',
  },
}
SCSS
$custom: #7d47d6;
$custom-light: #a97ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47d6",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 262.657,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.20749,
    "h": 296
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#7D47D6
secondary
#C4DA9F
accent
#E741A8
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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