#7D54E8#7D54E8

#7D54E8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.212 H 290.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D54E8
RGBrgb(125, 84, 232)
HSLhsl(257, 76%, 62%)
HSVhsv(257, 64%, 91%)
CMYKcmyk(46.1%, 63.8%, 0%, 9%)
CIE-LABlab(47.66, 50.98, -69.31)
CIE-LCHlch(47.66, 86.03, 306.34°)
OKLaboklab(57.07% 0.0756 -0.1983)
OKLCHoklch(57.07% 0.212 290.9)
XYZxyz(26.1892, 16.5259, 78.1382)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54E8 #BFE854
analogous
#5475E8 #7D54E8 #C754E8
triadic
#7D54E8 #E87D54 #54E87D
tetradic
#7D54E8 #E85475 #BFE854 #54E8C7
square
#7D54E8 #E85475 #BFE854 #54E8C7
split-complementary
#7D54E8 #E8C754 #75E854
monochromatic
#4017AB #541EE1 #7D54E8 #A68AEF #CFC0F7

Accessibility & contrast

On white

4.88
#7D54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7D54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54E8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54E8#FFFFFF#000000##FFFFFF
##7D54E81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#5C7797
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d54e8;
/* rgb */ color: rgb(125, 84, 232);
/* oklch */ color: oklch(57.1% 0.212 290.9);
Tailwind
colors: {
  custom: {
    50: '#aa86f0',
    500: '#7d54e8',
    950: '#000000',
  },
}
SCSS
$custom: #7d54e8;
$custom-light: #aa86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54e8",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 256.622,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.21224,
    "h": 290.9
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#7D54E8
secondary
#D8E7B1
accent
#D80DA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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