#7D4FEA#7D4FEA

#7D4FEA is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.221 H 291.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7D4FEA
RGBrgb(125, 79, 234)
HSLhsl(258, 79%, 61%)
HSVhsv(258, 66%, 92%)
CMYKcmyk(46.6%, 66.2%, 0%, 8.2%)
CIE-LABlab(46.83, 54.17, -71.78)
CIE-LCHlch(46.83, 89.92, 307.04°)
OKLaboklab(56.52% 0.0803 -0.2056)
OKLCHoklch(56.52% 0.221 291.3)
XYZxyz(26.1005, 15.8915, 79.5181)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FEA #BCEA4F
analogous
#4F6FEA #7D4FEA #CA4FEA
triadic
#7D4FEA #EA7D4F #4FEA7D
tetradic
#7D4FEA #EA4F6F #BCEA4F #4FEACA
square
#7D4FEA #EA4F6F #BCEA4F #4FEACA
split-complementary
#7D4FEA #EACA4F #6FEA4F
monochromatic
#4114AA #561BE1 #7D4FEA #A586F1 #CEBCF7

Accessibility & contrast

On white

5.03
#7D4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FEA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FEA#FFFFFF#000000##FFFFFF
##7D4FEA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#5B7596
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d4fea;
/* rgb */ color: rgb(125, 79, 234);
/* oklch */ color: oklch(56.5% 0.221 291.3);
Tailwind
colors: {
  custom: {
    50: '#ab83f2',
    500: '#7d4fea',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fea;
$custom-light: #ab83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fea",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 257.806,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.2207,
    "h": 291.3
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#7D4FEA
secondary
#D6E7AD
accent
#DB0B9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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