#7E59DB#7E59DB

#7E59DB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.190 H 292.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E59DB
RGBrgb(126, 89, 219)
HSLhsl(257, 64%, 60%)
HSVhsv(257, 59%, 86%)
CMYKcmyk(42.5%, 59.4%, 0%, 14.1%)
CIE-LABlab(47.87, 44.87, -61.59)
CIE-LCHlch(47.87, 76.20, 306.08°)
OKLaboklab(56.96% 0.0725 -0.1756)
OKLCHoklch(56.96% 0.19 292.4)
XYZxyz(24.9593, 16.6941, 68.9113)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59DB #B6DB59
analogous
#5975DB #7E59DB #BF59DB
triadic
#7E59DB #DB7E59 #59DB7E
tetradic
#7E59DB #DB5975 #B6DB59 #59DBBF
square
#7E59DB #DB5975 #B6DB59 #59DBBF
split-complementary
#7E59DB #DBBF59 #75DB59
monochromatic
#432199 #592CCB #7E59DB #A58BE6 #CCBEF1

Accessibility & contrast

On white

4.84
#7E59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7E59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59DB#FFFFFF#000000##FFFFFF
##7E59DB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#046FD8
Tritanopia (blue-blind)
#647692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e59db;
/* rgb */ color: rgb(126, 89, 219);
/* oklch */ color: oklch(57.0% 0.190 292.4);
Tailwind
colors: {
  custom: {
    50: '#a989e7',
    500: '#7e59db',
    950: '#000000',
  },
}
SCSS
$custom: #7e59db;
$custom-light: #a989e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59db",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 257.077,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.18996,
    "h": 292.4
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#7E59DB
secondary
#D3E1AF
accent
#CC1999
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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