#7D5AEC#7D5AEC

#7D5AEC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.209 H 289.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D5AEC
RGBrgb(125, 90, 236)
HSLhsl(254, 79%, 64%)
HSVhsv(254, 62%, 93%)
CMYKcmyk(47%, 61.9%, 0%, 7.5%)
CIE-LABlab(49.16, 48.82, -69.11)
CIE-LCHlch(49.16, 84.61, 305.23°)
OKLaboklab(58.25% 0.0692 -0.1977)
OKLCHoklch(58.25% 0.209 289.3)
XYZxyz(27.2496, 17.7273, 81.3266)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AEC #C9EC5A
analogous
#5A80EC #7D5AEC #C65AEC
triadic
#7D5AEC #EC7D5A #5AEC7D
tetradic
#7D5AEC #EC5A80 #C9EC5A #5AECC6
square
#7D5AEC #EC5A80 #C9EC5A #5AECC6
split-complementary
#7D5AEC #ECC65A #80EC5A
monochromatic
#3C15B7 #5223E6 #7D5AEC #A891F2 #D3C8F9

Accessibility & contrast

On white

4.62
#7D5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7D5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AEC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AEC#FFFFFF#000000##FFFFFF
##7D5AEC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#597C9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5aec;
/* rgb */ color: rgb(125, 90, 236);
/* oklch */ color: oklch(58.3% 0.209 289.3);
Tailwind
colors: {
  custom: {
    50: '#aa8af3',
    500: '#7d5aec',
    950: '#000000',
  },
}
SCSS
$custom: #7d5aec;
$custom-light: #aa8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5aec",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 254.384,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.20948,
    "h": 289.3
  },
  "luminance": 0.17728
}

Semantic roles & 50–950 ramp

primary
#7D5AEC
secondary
#DEEBB7
accent
#DC0AA9
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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