#7D4DE3#7D4DE3

#7D4DE3 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.215 H 292.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D4DE3
RGBrgb(125, 77, 227)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(44.9%, 66.1%, 0%, 11%)
CIE-LABlab(45.92, 53.33, -69.30)
CIE-LCHlch(45.92, 87.44, 307.58°)
OKLaboklab(55.7% 0.0832 -0.1983)
OKLCHoklch(55.7% 0.215 292.8)
XYZxyz(24.9726, 15.2130, 74.2788)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DE3 #B3E34D
analogous
#4D68E3 #7D4DE3 #C84DE3
triadic
#7D4DE3 #E37D4D #4DE37D
tetradic
#7D4DE3 #E34D68 #B3E34D #4DE3C8
square
#7D4DE3 #E34D68 #B3E34D #4DE3C8
split-complementary
#7D4DE3 #E3C84D #68E34D
monochromatic
#43199D #5A21D2 #7D4DE3 #A482EB #CAB7F4

Accessibility & contrast

On white

5.19
#7D4DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7D4DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DE3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DE3#FFFFFF#000000##FFFFFF
##7D4DE31.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#5F7192
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4de3;
/* rgb */ color: rgb(125, 77, 227);
/* oklch */ color: oklch(55.7% 0.215 292.8);
Tailwind
colors: {
  custom: {
    50: '#aa82ed',
    500: '#7d4de3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4de3;
$custom-light: #aa82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4de3",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 259.2,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.21503,
    "h": 292.8
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#7D4DE3
secondary
#D0E3A9
accent
#F038B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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