#7D4EE9#7D4EE9

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

Color values

HEX#7D4EE9
RGBrgb(125, 78, 233)
HSLhsl(258, 78%, 61%)
HSVhsv(258, 67%, 91%)
CMYKcmyk(46.4%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.57, 54.42, -71.64)
CIE-LCHlch(46.57, 89.97, 307.22°)
OKLaboklab(56.31% 0.0814 -0.2052)
OKLCHoklch(56.31% 0.221 291.6)
XYZxyz(25.8857, 15.6910, 78.7398)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE9 #BAE94E
analogous
#4E6CE9 #7D4EE9 #CB4EE9
triadic
#7D4EE9 #E97D4E #4EE97D
tetradic
#7D4EE9 #E94E6C #BAE94E #4EE9CB
square
#7D4EE9 #E94E6C #BAE94E #4EE9CB
split-complementary
#7D4EE9 #E9CB4E #6CE94E
monochromatic
#4115A8 #571CDE #7D4EE9 #A584F0 #CDBBF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D4EE9#FFFFFF#000000##FFFFFF
##7D4EE91.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)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#5C7495
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4ee9;
/* rgb */ color: rgb(125, 78, 233);
/* oklch */ color: oklch(56.3% 0.221 291.6);
Tailwind
colors: {
  custom: {
    50: '#ab83f1',
    500: '#7d4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee9;
$custom-light: #ab83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee9",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 258.194,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.22074,
    "h": 291.6
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#7D4EE9
secondary
#D5E7AC
accent
#DA0B9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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