#7D4CF5#7D4CF5

#7D4CF5 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.237 H 290.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D4CF5
RGBrgb(125, 76, 245)
HSLhsl(257, 89%, 63%)
HSVhsv(257, 69%, 96%)
CMYKcmyk(49%, 69%, 0%, 3.9%)
CIE-LABlab(47.13, 58.65, -77.47)
CIE-LCHlch(47.13, 97.17, 307.13°)
OKLaboklab(57% 0.0813 -0.2223)
OKLCHoklch(57% 0.237 290.1)
XYZxyz(27.5186, 16.1203, 88.0301)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CF5 #C4F54C
analogous
#4C70F5 #7D4CF5 #D14CF5
triadic
#7D4CF5 #F57D4C #4CF57D
tetradic
#7D4CF5 #F54C70 #C4F54C #4CF5D1
square
#7D4CF5 #F54C70 #C4F54C #4CF5D1
split-complementary
#7D4CF5 #F5D14C #70F54C
monochromatic
#3E0BBC #5312F2 #7D4CF5 #A786F8 #D1C0FB

Accessibility & contrast

On white

4.97
#7D4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7D4CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CF5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CF5#FFFFFF#000000##FFFFFF
##7D4CF51.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#54779B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d4cf5;
/* rgb */ color: rgb(125, 76, 245);
/* oklch */ color: oklch(57.0% 0.237 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac82fa',
    500: '#7d4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cf5;
$custom-light: #ac82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cf5",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 257.396,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57,
    "c": 0.2367,
    "h": 290.1
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#7D4CF5
secondary
#DBEDB0
accent
#E600A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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