#7D54DD#7D54DD

#7D54DD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.199 H 292.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7D54DD
RGBrgb(125, 84, 221)
HSLhsl(258, 67%, 60%)
HSVhsv(258, 62%, 87%)
CMYKcmyk(43.4%, 62%, 0%, 13.3%)
CIE-LABlab(46.87, 47.98, -64.35)
CIE-LCHlch(46.87, 80.27, 306.70°)
OKLaboklab(56.25% 0.0766 -0.1837)
OKLCHoklch(56.25% 0.199 292.6)
XYZxyz(24.6753, 15.9203, 70.1654)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54DD #B4DD54
analogous
#5470DD #7D54DD #C154DD
triadic
#7D54DD #DD7D54 #54DD7D
tetradic
#7D54DD #DD5470 #B4DD54 #54DDC1
square
#7D54DD #DD5470 #B4DD54 #54DDC1
split-complementary
#7D54DD #DDC154 #70DD54
monochromatic
#431E98 #5928CB #7D54DD #A487E7 #CBBAF1

Accessibility & contrast

On white

5.02
#7D54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54DD#FFFFFF#000000##FFFFFF
##7D54DD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#627491
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d54dd;
/* rgb */ color: rgb(125, 84, 221);
/* oklch */ color: oklch(56.2% 0.199 292.6);
Tailwind
colors: {
  custom: {
    50: '#a986e8',
    500: '#7d54dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d54dd;
$custom-light: #a986e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54dd",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 257.956,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.19907,
    "h": 292.6
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#7D54DD
secondary
#D1E1AC
accent
#EA3EB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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