#7D54EA#7D54EA

#7D54EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.215 H 290.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7D54EA
RGBrgb(125, 84, 234)
HSLhsl(256, 78%, 62%)
HSVhsv(256, 64%, 92%)
CMYKcmyk(46.6%, 64.1%, 0%, 8.2%)
CIE-LABlab(47.80, 51.52, -70.20)
CIE-LCHlch(47.80, 87.08, 306.28°)
OKLaboklab(57.22% 0.0754 -0.2009)
OKLCHoklch(57.22% 0.215 290.6)
XYZxyz(26.4749, 16.6401, 79.6429)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54EA #C1EA54
analogous
#5476EA #7D54EA #C854EA
triadic
#7D54EA #EA7D54 #54EA7D
tetradic
#7D54EA #EA5476 #C1EA54 #54EAC8
square
#7D54EA #EA5476 #C1EA54 #54EAC8
split-complementary
#7D54EA #EAC854 #76EA54
monochromatic
#3F15AE #541DE3 #7D54EA #A68BF1 #D0C1F7

Accessibility & contrast

On white

4.85
#7D54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7D54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54EA#FFFFFF#000000##FFFFFF
##7D54EA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#5B7898
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d54ea;
/* rgb */ color: rgb(125, 84, 234);
/* oklch */ color: oklch(57.2% 0.215 290.6);
Tailwind
colors: {
  custom: {
    50: '#ab86f2',
    500: '#7d54ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d54ea;
$custom-light: #ab86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54ea",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 256.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.21461,
    "h": 290.6
  },
  "luminance": 0.16641
}

Semantic roles & 50–950 ramp

primary
#7D54EA
secondary
#D9E8B2
accent
#DA0BA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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