#7D54DE#7D54DE

#7D54DE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.3% C 0.200 H 292.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7D54DE
RGBrgb(125, 84, 222)
HSLhsl(258, 68%, 60%)
HSVhsv(258, 62%, 87%)
CMYKcmyk(43.7%, 62.2%, 0%, 12.9%)
CIE-LABlab(46.94, 48.25, -64.81)
CIE-LCHlch(46.94, 80.80, 306.67°)
OKLaboklab(56.32% 0.0765 -0.1851)
OKLCHoklch(56.32% 0.2 292.5)
XYZxyz(24.8090, 15.9738, 70.8692)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54DE #B5DE54
analogous
#5470DE #7D54DE #C254DE
triadic
#7D54DE #DE7D54 #54DE7D
tetradic
#7D54DE #DE5470 #B5DE54 #54DEC2
square
#7D54DE #DE5470 #B5DE54 #54DEC2
split-complementary
#7D54DE #DEC254 #70DE54
monochromatic
#431E9A #5928CD #7D54DE #A487E8 #CBBBF2

Accessibility & contrast

On white

5.01
#7D54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7D54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54DE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54DE#FFFFFF#000000##FFFFFF
##7D54DE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#617491
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d54de;
/* rgb */ color: rgb(125, 84, 222);
/* oklch */ color: oklch(56.3% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#a986e9',
    500: '#7d54de',
    950: '#000000',
  },
}
SCSS
$custom: #7d54de;
$custom-light: #a986e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54de",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 257.826,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.56323,
    "c": 0.20028,
    "h": 292.5
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#7D54DE
secondary
#D2E1AC
accent
#EB3DB7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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