#7D54EE#7D54EE

#7D54EE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.219 H 290.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7D54EE
RGBrgb(125, 84, 238)
HSLhsl(256, 82%, 63%)
HSVhsv(256, 65%, 93%)
CMYKcmyk(47.5%, 64.7%, 0%, 6.7%)
CIE-LABlab(48.10, 52.62, -71.97)
CIE-LCHlch(48.10, 89.15, 306.17°)
OKLaboklab(57.53% 0.075 -0.2061)
OKLCHoklch(57.53% 0.219 290)
XYZxyz(27.0560, 16.8726, 82.7035)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54EE #C5EE54
analogous
#5478EE #7D54EE #CA54EE
triadic
#7D54EE #EE7D54 #54EE7D
tetradic
#7D54EE #EE5478 #C5EE54 #54EECA
square
#7D54EE #EE5478 #C5EE54 #54EECA
split-complementary
#7D54EE #EECA54 #78EE54
monochromatic
#3E12B6 #531CE8 #7D54EE #A78CF4 #D2C3F9

Accessibility & contrast

On white

4.80
#7D54EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7D54EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54EE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54EE#FFFFFF#000000##FFFFFF
##7D54EE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#58799A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d54ee;
/* rgb */ color: rgb(125, 84, 238);
/* oklch */ color: oklch(57.5% 0.219 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab86f5',
    500: '#7d54ee',
    950: '#000000',
  },
}
SCSS
$custom: #7d54ee;
$custom-light: #ab86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54ee",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 255.974,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.21935,
    "h": 290
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#7D54EE
secondary
#DCEAB3
accent
#DE07A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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