#7D54E7#7D54E7

#7D54E7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.211 H 291.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D54E7
RGBrgb(125, 84, 231)
HSLhsl(257, 75%, 62%)
HSVhsv(257, 64%, 91%)
CMYKcmyk(45.9%, 63.6%, 0%, 9.4%)
CIE-LABlab(47.58, 50.70, -68.86)
CIE-LCHlch(47.58, 85.51, 306.36°)
OKLaboklab(56.99% 0.0757 -0.197)
OKLCHoklch(56.99% 0.211 291)
XYZxyz(26.0475, 16.4692, 77.3923)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54E7 #BEE754
analogous
#5475E7 #7D54E7 #C754E7
triadic
#7D54E7 #E77D54 #54E77D
tetradic
#7D54E7 #E75475 #BEE754 #54E7C7
square
#7D54E7 #E75475 #BEE754 #54E7C7
split-complementary
#7D54E7 #E7C754 #75E754
monochromatic
#4018A9 #551FDF #7D54E7 #A68AEF #CFBFF6

Accessibility & contrast

On white

4.89
#7D54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54E7#FFFFFF#000000##FFFFFF
##7D54E71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#5C7796
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d54e7;
/* rgb */ color: rgb(125, 84, 231);
/* oklch */ color: oklch(57.0% 0.211 291.0);
Tailwind
colors: {
  custom: {
    50: '#aa86f0',
    500: '#7d54e7',
    950: '#000000',
  },
}
SCSS
$custom: #7d54e7;
$custom-light: #aa86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54e7",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 256.735,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56992,
    "c": 0.21106,
    "h": 291
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#7D54E7
secondary
#D7E7B0
accent
#D80E9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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