#7D4FEB#7D4FEB

#7D4FEB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.222 H 291.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7D4FEB
RGBrgb(125, 79, 235)
HSLhsl(258, 80%, 62%)
HSVhsv(258, 66%, 92%)
CMYKcmyk(46.8%, 66.4%, 0%, 7.8%)
CIE-LABlab(46.91, 54.44, -72.22)
CIE-LCHlch(46.91, 90.44, 307.01°)
OKLaboklab(56.6% 0.0802 -0.2069)
OKLCHoklch(56.6% 0.222 291.2)
XYZxyz(26.2446, 15.9491, 80.2768)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FEB #BDEB4F
analogous
#4F6FEB #7D4FEB #CB4FEB
triadic
#7D4FEB #EB7D4F #4FEB7D
tetradic
#7D4FEB #EB4F6F #BDEB4F #4FEBCB
square
#7D4FEB #EB4F6F #BDEB4F #4FEBCB
split-complementary
#7D4FEB #EBCB4F #6FEB4F
monochromatic
#4114AC #551AE3 #7D4FEB #A686F1 #CEBDF7

Accessibility & contrast

On white

5.01
#7D4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7D4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FEB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FEB#FFFFFF#000000##FFFFFF
##7D4FEB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#5A7597
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d4feb;
/* rgb */ color: rgb(125, 79, 235);
/* oklch */ color: oklch(56.6% 0.222 291.2);
Tailwind
colors: {
  custom: {
    50: '#ab83f2',
    500: '#7d4feb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4feb;
$custom-light: #ab83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4feb",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 257.692,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.22186,
    "h": 291.2
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#7D4FEB
secondary
#D7E8AE
accent
#DC0A9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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