#7D54D3#7D54D3

#7D54D3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.187 H 294.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7D54D3
RGBrgb(125, 84, 211)
HSLhsl(259, 59%, 58%)
HSVhsv(259, 60%, 83%)
CMYKcmyk(40.8%, 60.2%, 0%, 17.3%)
CIE-LABlab(46.18, 45.27, -59.76)
CIE-LCHlch(46.18, 74.97, 307.15°)
OKLaboklab(55.53% 0.0772 -0.1703)
OKLCHoklch(55.53% 0.187 294.4)
XYZxyz(23.3825, 15.4032, 63.3565)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54D3 #AAD354
analogous
#546AD3 #7D54D3 #BC54D3
triadic
#7D54D3 #D37D54 #54D37D
tetradic
#7D54D3 #D3546A #AAD354 #54D3BC
square
#7D54D3 #D3546A #AAD354 #54D3BC
split-complementary
#7D54D3 #D3BC54 #6AD354
monochromatic
#442389 #5C30BA #7D54D3 #A285E0 #C7B5EC

Accessibility & contrast

On white

5.15
#7D54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7D54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54D3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54D3#FFFFFF#000000##FFFFFF
##7D54D31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0A6BD0
Tritanopia (blue-blind)
#66708C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d54d3;
/* rgb */ color: rgb(125, 84, 211);
/* oklch */ color: oklch(55.5% 0.187 294.4);
Tailwind
colors: {
  custom: {
    50: '#a886e1',
    500: '#7d54d3',
    950: '#000000',
  },
}
SCSS
$custom: #7d54d3;
$custom-light: #a886e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54d3",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 259.37,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5553,
    "c": 0.18692,
    "h": 294.4
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#7D54D3
secondary
#CADBA8
accent
#E246B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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