#7D4FE0#7D4FE0

#7D4FE0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.209 H 293.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE0
RGBrgb(125, 79, 224)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 65%, 88%)
CMYKcmyk(44.2%, 64.7%, 0%, 12.2%)
CIE-LABlab(46.09, 51.47, -67.33)
CIE-LCHlch(46.09, 84.75, 307.40°)
OKLaboklab(55.75% 0.0816 -0.1925)
OKLCHoklch(55.75% 0.209 293)
XYZxyz(24.7043, 15.3330, 72.1645)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE0 #B2E04F
analogous
#4F6AE0 #7D4FE0 #C54FE0
triadic
#7D4FE0 #E07D4F #4FE07D
tetradic
#7D4FE0 #E04F6A #B2E04F #4FE0C5
square
#7D4FE0 #E04F6A #B2E04F #4FE0C5
split-complementary
#7D4FE0 #E0C54F #6AE04F
monochromatic
#431B9A #5A24CE #7D4FE0 #A383E9 #CAB7F2

Accessibility & contrast

On white

5.16
#7D4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE0#FFFFFF#000000##FFFFFF
##7D4FE01.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#607291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4fe0;
/* rgb */ color: rgb(125, 79, 224);
/* oklch */ color: oklch(55.8% 0.209 293.0);
Tailwind
colors: {
  custom: {
    50: '#aa83eb',
    500: '#7d4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe0;
$custom-light: #aa83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe0",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 259.034,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.20906,
    "h": 293
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#7D4FE0
secondary
#D0E2A9
accent
#ED3BB4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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