#7E59DD#7E59DD

#7E59DD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.192 H 292.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7E59DD
RGBrgb(126, 89, 221)
HSLhsl(257, 66%, 61%)
HSVhsv(257, 60%, 87%)
CMYKcmyk(43%, 59.7%, 0%, 13.3%)
CIE-LABlab(48.01, 45.42, -62.51)
CIE-LCHlch(48.01, 77.27, 306.00°)
OKLaboklab(57.1% 0.0724 -0.1783)
OKLCHoklch(57.1% 0.192 292.1)
XYZxyz(25.2241, 16.8001, 70.3063)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59DD #B8DD59
analogous
#5976DD #7E59DD #C059DD
triadic
#7E59DD #DD7E59 #59DD7E
tetradic
#7E59DD #DD5976 #B8DD59 #59DDC0
square
#7E59DD #DD5976 #B8DD59 #59DDC0
split-complementary
#7E59DD #DDC059 #76DD59
monochromatic
#43209C #582ACF #7E59DD #A58CE7 #CDBFF2

Accessibility & contrast

On white

4.82
#7E59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7E59DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59DD#FFFFFF#000000##FFFFFF
##7E59DD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#637793
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e59dd;
/* rgb */ color: rgb(126, 89, 221);
/* oklch */ color: oklch(57.1% 0.192 292.1);
Tailwind
colors: {
  custom: {
    50: '#aa89e8',
    500: '#7e59dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e59dd;
$custom-light: #aa89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59dd",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 256.818,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.19243,
    "h": 292.1
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#7E59DD
secondary
#D4E2B0
accent
#CE189B
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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