#7D54E4#7D54E4

#7D54E4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.207 H 291.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D54E4
RGBrgb(125, 84, 228)
HSLhsl(257, 73%, 61%)
HSVhsv(257, 63%, 89%)
CMYKcmyk(45.2%, 63.2%, 0%, 10.6%)
CIE-LABlab(47.37, 49.88, -67.52)
CIE-LCHlch(47.37, 83.95, 306.46°)
OKLaboklab(56.77% 0.076 -0.1931)
OKLCHoklch(56.77% 0.207 291.5)
XYZxyz(25.6275, 16.3012, 75.1799)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54E4 #BBE454
analogous
#5473E4 #7D54E4 #C554E4
triadic
#7D54E4 #E47D54 #54E47D
tetradic
#7D54E4 #E45473 #BBE454 #54E4C5
square
#7D54E4 #E45473 #BBE454 #54E4C5
split-complementary
#7D54E4 #E4C554 #73E454
monochromatic
#411AA4 #5622D9 #7D54E4 #A589EC #CDBEF5

Accessibility & contrast

On white

4.93
#7D54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7D54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54E4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54E4#FFFFFF#000000##FFFFFF
##7D54E41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#5E7694
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d54e4;
/* rgb */ color: rgb(125, 84, 228);
/* oklch */ color: oklch(56.8% 0.207 291.5);
Tailwind
colors: {
  custom: {
    50: '#aa86ed',
    500: '#7d54e4',
    950: '#000000',
  },
}
SCSS
$custom: #7d54e4;
$custom-light: #aa86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54e4",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 257.083,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.20748,
    "h": 291.5
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#7D54E4
secondary
#D6E5AF
accent
#D5119D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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