#7D47D4#7D47D4

#7D47D4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.205 H 296.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7D47D4
RGBrgb(125, 71, 212)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41%, 66.5%, 0%, 16.9%)
CIE-LABlab(43.68, 52.47, -64.38)
CIE-LCHlch(43.68, 83.06, 309.18°)
OKLaboklab(53.74% 0.0912 -0.1838)
OKLCHoklch(53.74% 0.205 296.4)
XYZxyz(22.5912, 13.6195, 63.7132)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47D4 #9ED447
analogous
#4757D4 #7D47D4 #C447D4
triadic
#7D47D4 #D47D47 #47D47D
tetradic
#7D47D4 #D44757 #9ED447 #47D4C4
square
#7D47D4 #D44757 #9ED447 #47D4C4
split-complementary
#7D47D4 #D4C447 #57D447
monochromatic
#451E82 #5F2AB4 #7D47D4 #A079E0 #C3AAEB

Accessibility & contrast

On white

5.64
#7D47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7D47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47D4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47D4#FFFFFF#000000##FFFFFF
##7D47D41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#676888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d47d4;
/* rgb */ color: rgb(125, 71, 212);
/* oklch */ color: oklch(53.7% 0.205 296.4);
Tailwind
colors: {
  custom: {
    50: '#a97ee2',
    500: '#7d47d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d47d4;
$custom-light: #a97ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47d4",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 262.979,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.20522,
    "h": 296.4
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#7D47D4
secondary
#C2D99E
accent
#E543A7
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7D47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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