#7D4FE4#7D4FE4

#7D4FE4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.214 H 292.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE4
RGBrgb(125, 79, 228)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(45.2%, 65.4%, 0%, 10.6%)
CIE-LABlab(46.38, 52.55, -69.12)
CIE-LCHlch(46.38, 86.83, 307.25°)
OKLaboklab(56.06% 0.0811 -0.1978)
OKLCHoklch(56.06% 0.214 292.3)
XYZxyz(25.2531, 15.5526, 75.0551)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE4 #B6E44F
analogous
#4F6CE4 #7D4FE4 #C74FE4
triadic
#7D4FE4 #E47D4F #4FE47D
tetradic
#7D4FE4 #E44F6C #B6E44F #4FE4C7
square
#7D4FE4 #E44F6C #B6E44F #4FE4C7
split-complementary
#7D4FE4 #E4C74F #6CE44F
monochromatic
#4219A0 #5821D5 #7D4FE4 #A484EC #CBB9F4

Accessibility & contrast

On white

5.11
#7D4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7D4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE4#FFFFFF#000000##FFFFFF
##7D4FE41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#5E7393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4fe4;
/* rgb */ color: rgb(125, 79, 228);
/* oklch */ color: oklch(56.1% 0.214 292.3);
Tailwind
colors: {
  custom: {
    50: '#aa83ed',
    500: '#7d4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe4;
$custom-light: #aa83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe4",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 258.523,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.21374,
    "h": 292.3
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#7D4FE4
secondary
#D2E4AB
accent
#D61099
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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