#7D5AEA#7D5AEA

#7D5AEA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.207 H 289.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D5AEA
RGBrgb(125, 90, 234)
HSLhsl(255, 77%, 64%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(46.6%, 61.5%, 0%, 8.2%)
CIE-LABlab(49.02, 48.26, -68.22)
CIE-LCHlch(49.02, 83.56, 305.28°)
OKLaboklab(58.1% 0.0693 -0.1951)
OKLCHoklch(58.1% 0.207 289.6)
XYZxyz(26.9607, 17.6118, 79.8048)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AEA #C7EA5A
analogous
#5A7FEA #7D5AEA #C55AEA
triadic
#7D5AEA #EA7D5A #5AEA7D
tetradic
#7D5AEA #EA5A7F #C7EA5A #5AEAC5
square
#7D5AEA #EA5A7F #C7EA5A #5AEAC5
split-complementary
#7D5AEA #EAC55A #7FEA5A
monochromatic
#3D17B3 #5224E3 #7D5AEA #A890F1 #D3C7F8

Accessibility & contrast

On white

4.64
#7D5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7D5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AEA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AEA#FFFFFF#000000##FFFFFF
##7D5AEA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#5A7C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5aea;
/* rgb */ color: rgb(125, 90, 234);
/* oklch */ color: oklch(58.1% 0.207 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa8af2',
    500: '#7d5aea',
    950: '#000000',
  },
}
SCSS
$custom: #7d5aea;
$custom-light: #aa8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5aea",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 254.583,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.20705,
    "h": 289.6
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#7D5AEA
secondary
#DDE9B6
accent
#DA0CA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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