#7D5AEB#7D5AEB

#7D5AEB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.208 H 289.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D5AEB
RGBrgb(125, 90, 235)
HSLhsl(254, 78%, 64%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(46.8%, 61.7%, 0%, 7.8%)
CIE-LABlab(49.09, 48.54, -68.66)
CIE-LCHlch(49.09, 84.09, 305.26°)
OKLaboklab(58.18% 0.0692 -0.1964)
OKLCHoklch(58.18% 0.208 289.4)
XYZxyz(27.1047, 17.6694, 80.5635)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5AEB #C8EB5A
analogous
#5A7FEB #7D5AEB #C55AEB
triadic
#7D5AEB #EB7D5A #5AEB7D
tetradic
#7D5AEB #EB5A7F #C8EB5A #5AEBC5
square
#7D5AEB #EB5A7F #C8EB5A #5AEBC5
split-complementary
#7D5AEB #EBC55A #7FEB5A
monochromatic
#3C16B5 #5223E4 #7D5AEB #A891F2 #D3C7F8

Accessibility & contrast

On white

4.63
#7D5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7D5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5AEB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5AEB#FFFFFF#000000##FFFFFF
##7D5AEB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5A7C9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5aeb;
/* rgb */ color: rgb(125, 90, 235);
/* oklch */ color: oklch(58.2% 0.208 289.4);
Tailwind
colors: {
  custom: {
    50: '#aa8af2',
    500: '#7d5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5aeb;
$custom-light: #aa8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5aeb",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 254.483,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.20827,
    "h": 289.4
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#7D5AEB
secondary
#DEEAB7
accent
#DB0BA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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