#7D4FE9#7D4FE9

#7D4FE9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.220 H 291.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE9
RGBrgb(125, 79, 233)
HSLhsl(258, 78%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.4%, 66.1%, 0%, 8.6%)
CIE-LABlab(46.76, 53.90, -71.34)
CIE-LCHlch(46.76, 89.41, 307.07°)
OKLaboklab(56.44% 0.0804 -0.2043)
OKLCHoklch(56.44% 0.22 291.5)
XYZxyz(25.9573, 15.8342, 78.7636)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE9 #BBE94F
analogous
#4F6EE9 #7D4FE9 #CA4FE9
triadic
#7D4FE9 #E97D4F #4FE97D
tetradic
#7D4FE9 #E94F6E #BBE94F #4FE9CA
square
#7D4FE9 #E94F6E #BBE94F #4FE9CA
split-complementary
#7D4FE9 #E9CA4F #6EE94F
monochromatic
#4115A9 #561CDF #7D4FE9 #A585F0 #CDBCF7

Accessibility & contrast

On white

5.04
#7D4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7D4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE9#FFFFFF#000000##FFFFFF
##7D4FE91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5B7595
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d4fe9;
/* rgb */ color: rgb(125, 79, 233);
/* oklch */ color: oklch(56.4% 0.220 291.5);
Tailwind
colors: {
  custom: {
    50: '#ab83f1',
    500: '#7d4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe9;
$custom-light: #ab83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe9",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 257.922,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.21955,
    "h": 291.5
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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