#7F5AED#7F5AED

#7F5AED is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.211 H 289.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7F5AED
RGBrgb(127, 90, 237)
HSLhsl(255, 80%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(46.4%, 62%, 0%, 7.1%)
CIE-LABlab(49.42, 49.48, -69.25)
CIE-LCHlch(49.42, 85.11, 305.55°)
OKLaboklab(58.51% 0.0717 -0.1981)
OKLCHoklch(58.51% 0.211 289.9)
XYZxyz(27.6903, 17.9377, 82.1077)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5AED #C8ED5A
analogous
#5A7FED #7F5AED #C95AED
triadic
#7F5AED #ED7F5A #5AED7F
tetradic
#7F5AED #ED5A7F #C8ED5A #5AEDC9
square
#7F5AED #ED5A7F #C8ED5A #5AEDC9
split-complementary
#7F5AED #EDC95A #7FED5A
monochromatic
#3D14B8 #5423E7 #7F5AED #AA91F3 #D5C8F9

Accessibility & contrast

On white

4.58
#7F5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7F5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5AED
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5AED#FFFFFF#000000##000000
##7F5AED1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#5C7D9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f5aed;
/* rgb */ color: rgb(127, 90, 237);
/* oklch */ color: oklch(58.5% 0.211 289.9);
Tailwind
colors: {
  custom: {
    50: '#ac8af4',
    500: '#7f5aed',
    950: '#000000',
  },
}
SCSS
$custom: #7f5aed;
$custom-light: #ac8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5aed",
  "rgb": {
    "r": 127,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 255.102,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.21065,
    "h": 289.9
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#7F5AED
secondary
#DEEBB8
accent
#DD09A7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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