#7D4FE7#7D4FE7

#7D4FE7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.217 H 291.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE7
RGBrgb(125, 79, 231)
HSLhsl(258, 76%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(45.9%, 65.8%, 0%, 9.4%)
CIE-LABlab(46.61, 53.36, -70.45)
CIE-LCHlch(46.61, 88.38, 307.14°)
OKLaboklab(56.29% 0.0807 -0.2017)
OKLCHoklch(56.29% 0.217 291.8)
XYZxyz(25.6732, 15.7206, 77.2675)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE7 #B9E74F
analogous
#4F6DE7 #7D4FE7 #C94FE7
triadic
#7D4FE7 #E77D4F #4FE77D
tetradic
#7D4FE7 #E74F6D #B9E74F #4FE7C9
square
#7D4FE7 #E74F6D #B9E74F #4FE7C9
split-complementary
#7D4FE7 #E7C94F #6DE74F
monochromatic
#4217A5 #571EDB #7D4FE7 #A585EE #CDBBF6

Accessibility & contrast

On white

5.07
#7D4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7D4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE7#FFFFFF#000000##FFFFFF
##7D4FE71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#5D7494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4fe7;
/* rgb */ color: rgb(125, 79, 231);
/* oklch */ color: oklch(56.3% 0.217 291.8);
Tailwind
colors: {
  custom: {
    50: '#ab83f0',
    500: '#7d4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe7;
$custom-light: #ab83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe7",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 258.158,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.21723,
    "h": 291.8
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#7D4FE7
secondary
#D4E6AC
accent
#D80D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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