#7D4FE3#7D4FE3

#7D4FE3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.213 H 292.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D4FE3
RGBrgb(125, 79, 227)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.9%, 65.2%, 0%, 11%)
CIE-LABlab(46.31, 52.28, -68.67)
CIE-LCHlch(46.31, 86.31, 307.28°)
OKLaboklab(55.98% 0.0812 -0.1965)
OKLCHoklch(55.98% 0.213 292.5)
XYZxyz(25.1147, 15.4972, 74.3261)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FE3 #B5E34F
analogous
#4F6BE3 #7D4FE3 #C74FE3
triadic
#7D4FE3 #E37D4F #4FE37D
tetradic
#7D4FE3 #E34F6B #B5E34F #4FE3C7
square
#7D4FE3 #E34F6B #B5E34F #4FE3C7
split-complementary
#7D4FE3 #E3C74F #6BE34F
monochromatic
#43199E #5922D3 #7D4FE3 #A484EB #CBB9F4

Accessibility & contrast

On white

5.12
#7D4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7D4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FE3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FE3#FFFFFF#000000##FFFFFF
##7D4FE31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#5F7392
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4fe3;
/* rgb */ color: rgb(125, 79, 227);
/* oklch */ color: oklch(56.0% 0.213 292.5);
Tailwind
colors: {
  custom: {
    50: '#aa83ed',
    500: '#7d4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fe3;
$custom-light: #aa83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fe3",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 258.649,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.21257,
    "h": 292.5
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#7D4FE3
secondary
#D2E3AA
accent
#EF39B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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