#7E59ED#7E59ED

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

Color values

HEX#7E59ED
RGBrgb(126, 89, 237)
HSLhsl(255, 80%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(46.8%, 62.4%, 0%, 7.1%)
CIE-LABlab(49.12, 49.83, -69.74)
CIE-LCHlch(49.12, 85.71, 305.55°)
OKLaboklab(58.27% 0.0714 -0.1995)
OKLCHoklch(58.27% 0.212 289.7)
XYZxyz(27.4583, 17.6937, 82.0728)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59ED #C8ED59
analogous
#597EED #7E59ED #C859ED
triadic
#7E59ED #ED7E59 #59ED7E
tetradic
#7E59ED #ED597E #C8ED59 #59EDC8
square
#7E59ED #ED597E #C8ED59 #59EDC8
split-complementary
#7E59ED #EDC859 #7EED59
monochromatic
#3D14B8 #5322E7 #7E59ED #A990F3 #D4C7F9

Accessibility & contrast

On white

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

On black

4.54
#7E59ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E59ED#FFFFFF#000000##FFFFFF
##7E59ED1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e59ed;
/* rgb */ color: rgb(126, 89, 237);
/* oklch */ color: oklch(58.3% 0.212 289.7);
Tailwind
colors: {
  custom: {
    50: '#ab8af4',
    500: '#7e59ed',
    950: '#000000',
  },
}
SCSS
$custom: #7e59ed;
$custom-light: #ab8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59ed",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 255,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.21194,
    "h": 289.7
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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