#7D4EF5#7D4EF5

#7D4EF5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.234 H 289.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7D4EF5
RGBrgb(125, 78, 245)
HSLhsl(257, 89%, 63%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(49%, 68.2%, 0%, 3.9%)
CIE-LABlab(47.50, 57.65, -76.88)
CIE-LCHlch(47.50, 96.09, 306.87°)
OKLaboklab(57.26% 0.0796 -0.2205)
OKLCHoklch(57.26% 0.234 289.8)
XYZxyz(27.6585, 16.4002, 88.0767)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EF5 #C6F54E
analogous
#4E72F5 #7D4EF5 #D04EF5
triadic
#7D4EF5 #F57D4E #4EF57D
tetradic
#7D4EF5 #F54E72 #C6F54E #4EF5D0
square
#7D4EF5 #F54E72 #C6F54E #4EF5D0
split-complementary
#7D4EF5 #F5D04E #72F54E
monochromatic
#3D0BBE #5214F2 #7D4EF5 #A888F8 #D2C2FC

Accessibility & contrast

On white

4.91
#7D4EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7D4EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EF5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EF5#FFFFFF#000000##FFFFFF
##7D4EF51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#54799C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d4ef5;
/* rgb */ color: rgb(125, 78, 245);
/* oklch */ color: oklch(57.3% 0.234 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac83fa',
    500: '#7d4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ef5;
$custom-light: #ac83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ef5",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 256.886,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.23446,
    "h": 289.8
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#7D4EF5
secondary
#DCEDB2
accent
#E600A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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