#7D4EE3#7D4EE3

#7D4EE3 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.214 H 292.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D4EE3
RGBrgb(125, 78, 227)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(44.9%, 65.6%, 0%, 11%)
CIE-LABlab(46.12, 52.80, -68.98)
CIE-LCHlch(46.12, 86.88, 307.43°)
OKLaboklab(55.84% 0.0822 -0.1974)
OKLCHoklch(55.84% 0.214 292.6)
XYZxyz(25.0431, 15.3540, 74.3023)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE3 #B4E34E
analogous
#4E6AE3 #7D4EE3 #C74EE3
triadic
#7D4EE3 #E37D4E #4EE37D
tetradic
#7D4EE3 #E34E6A #B4E34E #4EE3C7
square
#7D4EE3 #E34E6A #B4E34E #4EE3C7
split-complementary
#7D4EE3 #E3C74E #6AE34E
monochromatic
#43199E #5921D3 #7D4EE3 #A483EB #CBB8F4

Accessibility & contrast

On white

5.16
#7D4EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D4EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EE3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EE3#FFFFFF#000000##FFFFFF
##7D4EE31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#5F7292
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4ee3;
/* rgb */ color: rgb(125, 78, 227);
/* oklch */ color: oklch(55.8% 0.214 292.6);
Tailwind
colors: {
  custom: {
    50: '#aa82ed',
    500: '#7d4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee3;
$custom-light: #aa82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee3",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 258.926,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.2138,
    "h": 292.6
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#7D4EE3
secondary
#D1E3AA
accent
#EF38B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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