#7D47D1#7D47D1

#7D47D1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.202 H 297.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7D47D1
RGBrgb(125, 71, 209)
HSLhsl(263, 60%, 55%)
HSVhsv(263, 66%, 82%)
CMYKcmyk(40.2%, 66%, 0%, 18%)
CIE-LABlab(43.46, 51.69, -63.02)
CIE-LCHlch(43.46, 81.51, 309.36°)
OKLaboklab(53.52% 0.0916 -0.1798)
OKLCHoklch(53.52% 0.202 297)
XYZxyz(22.2163, 13.4695, 61.7386)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47D1 #9BD147
analogous
#4756D1 #7D47D1 #C247D1
triadic
#7D47D1 #D17D47 #47D17D
tetradic
#7D47D1 #D14756 #9BD147 #47D1C2
square
#7D47D1 #D14756 #9BD147 #47D1C2
split-complementary
#7D47D1 #D1C247 #56D147
monochromatic
#45207E #5F2CAF #7D47D1 #A078DD #C2A9E9

Accessibility & contrast

On white

5.68
#7D47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7D47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47D1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47D1#FFFFFF#000000##FFFFFF
##7D47D11.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#686786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d47d1;
/* rgb */ color: rgb(125, 71, 209);
/* oklch */ color: oklch(53.5% 0.202 297.0);
Tailwind
colors: {
  custom: {
    50: '#a97ee0',
    500: '#7d47d1',
    950: '#000000',
  },
}
SCSS
$custom: #7d47d1;
$custom-light: #a97ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47d1",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 263.478,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.2018,
    "h": 297
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#7D47D1
secondary
#C0D79D
accent
#E345A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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