#7D4FF0#7D4FF0

#7D4FF0 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.228 H 290.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D4FF0
RGBrgb(125, 79, 240)
HSLhsl(257, 84%, 63%)
HSVhsv(257, 67%, 94%)
CMYKcmyk(47.9%, 67.1%, 0%, 5.9%)
CIE-LABlab(47.29, 55.79, -74.41)
CIE-LCHlch(47.29, 93.00, 306.86°)
OKLaboklab(56.99% 0.0794 -0.2133)
OKLCHoklch(56.99% 0.228 290.4)
XYZxyz(26.9771, 16.2422, 84.1348)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FF0 #C2F04F
analogous
#4F71F0 #7D4FF0 #CE4FF0
triadic
#7D4FF0 #F07D4F #4FF07D
tetradic
#7D4FF0 #F04F71 #C2F04F #4FF0CE
square
#7D4FF0 #F04F71 #C2F04F #4FF0CE
split-complementary
#7D4FF0 #F0CE4F #71F04F
monochromatic
#3F0FB5 #5317EB #7D4FF0 #A787F5 #D0C0FA

Accessibility & contrast

On white

4.94
#7D4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7D4FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FF0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FF0#FFFFFF#000000##FFFFFF
##7D4FF01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#577799
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d4ff0;
/* rgb */ color: rgb(125, 79, 240);
/* oklch */ color: oklch(57.0% 0.228 290.4);
Tailwind
colors: {
  custom: {
    50: '#ac83f6',
    500: '#7d4ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ff0;
$custom-light: #ac83f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ff0",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 257.143,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56992,
    "c": 0.22761,
    "h": 290.4
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#7D4FF0
secondary
#DAEBB0
accent
#E105A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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