#7D54DF#7D54DF

#7D54DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.201 H 292.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7D54DF
RGBrgb(125, 84, 223)
HSLhsl(258, 68%, 60%)
HSVhsv(258, 62%, 87%)
CMYKcmyk(43.9%, 62.3%, 0%, 12.5%)
CIE-LABlab(47.01, 48.52, -65.26)
CIE-LCHlch(47.01, 81.32, 306.63°)
OKLaboklab(56.4% 0.0764 -0.1864)
OKLCHoklch(56.4% 0.201 292.3)
XYZxyz(24.9434, 16.0276, 71.5771)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54DF #B6DF54
analogous
#5470DF #7D54DF #C354DF
triadic
#7D54DF #DF7D54 #54DF7D
tetradic
#7D54DF #DF5470 #B6DF54 #54DFC3
square
#7D54DF #DF5470 #B6DF54 #54DFC3
split-complementary
#7D54DF #DFC354 #70DF54
monochromatic
#421D9C #5827CF #7D54DF #A488E9 #CBBBF2

Accessibility & contrast

On white

4.99
#7D54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7D54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54DF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54DF#FFFFFF#000000##FFFFFF
##7D54DF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#617492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d54df;
/* rgb */ color: rgb(125, 84, 223);
/* oklch */ color: oklch(56.4% 0.201 292.3);
Tailwind
colors: {
  custom: {
    50: '#a986ea',
    500: '#7d54df',
    950: '#000000',
  },
}
SCSS
$custom: #7d54df;
$custom-light: #a986ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54df",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 257.698,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.20148,
    "h": 292.3
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#7D54DF
secondary
#D2E2AD
accent
#D01599
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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