#7D54CE#7D54CE

#7D54CE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.181 H 295.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D54CE
RGBrgb(125, 84, 206)
HSLhsl(260, 55%, 57%)
HSVhsv(260, 59%, 81%)
CMYKcmyk(39.3%, 59.2%, 0%, 19.2%)
CIE-LABlab(45.85, 43.93, -57.43)
CIE-LCHlch(45.85, 72.31, 307.41°)
OKLaboklab(55.18% 0.0774 -0.1634)
OKLCHoklch(55.18% 0.181 295.3)
XYZxyz(22.7654, 15.1564, 60.1066)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54CE #A5CE54
analogous
#5468CE #7D54CE #BA54CE
triadic
#7D54CE #CE7D54 #54CE7D
tetradic
#7D54CE #CE5468 #A5CE54 #54CEBA
square
#7D54CE #CE5468 #A5CE54 #54CEBA
split-complementary
#7D54CE #CEBA54 #68CE54
monochromatic
#452582 #5E33B2 #7D54CE #A184DC #C5B3E9

Accessibility & contrast

On white

5.21
#7D54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54CE#FFFFFF#000000##FFFFFF
##7D54CE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#1B6BCB
Tritanopia (blue-blind)
#696F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d54ce;
/* rgb */ color: rgb(125, 84, 206);
/* oklch */ color: oklch(55.2% 0.181 295.3);
Tailwind
colors: {
  custom: {
    50: '#a886de',
    500: '#7d54ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d54ce;
$custom-light: #a886de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54ce",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 260.164,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.18078,
    "h": 295.3
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#7D54CE
secondary
#C7D8A6
accent
#DF49AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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