#7D54CD#7D54CD

#7D54CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.180 H 295.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D54CD
RGBrgb(125, 84, 205)
HSLhsl(260, 55%, 57%)
HSVhsv(260, 59%, 80%)
CMYKcmyk(39%, 59%, 0%, 19.6%)
CIE-LABlab(45.78, 43.66, -56.96)
CIE-LCHlch(45.78, 71.77, 307.47°)
OKLaboklab(55.11% 0.0774 -0.162)
OKLCHoklch(55.11% 0.18 295.5)
XYZxyz(22.6443, 15.1079, 59.4688)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54CD #A4CD54
analogous
#5468CD #7D54CD #BA54CD
triadic
#7D54CD #CD7D54 #54CD7D
tetradic
#7D54CD #CD5468 #A4CD54 #54CDBA
square
#7D54CD #CD5468 #A4CD54 #54CDBA
split-complementary
#7D54CD #CDBA54 #68CD54
monochromatic
#452681 #5E34B0 #7D54CD #A183DB #C5B3E9

Accessibility & contrast

On white

5.22
#7D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54CD#FFFFFF#000000##FFFFFF
##7D54CD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#1D6BCA
Tritanopia (blue-blind)
#696E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d54cd;
/* rgb */ color: rgb(125, 84, 205);
/* oklch */ color: oklch(55.1% 0.180 295.5);
Tailwind
colors: {
  custom: {
    50: '#a886dd',
    500: '#7d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d54cd;
$custom-light: #a886dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54cd",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 260.331,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.17955,
    "h": 295.5
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#7D54CD
secondary
#C6D7A6
accent
#DE4AAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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