#7D59CE#7D59CE

#7D59CE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.174 H 294.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7D59CE
RGBrgb(125, 89, 206)
HSLhsl(258, 54%, 58%)
HSVhsv(258, 57%, 81%)
CMYKcmyk(39.3%, 56.8%, 0%, 19.2%)
CIE-LABlab(46.92, 41.11, -55.70)
CIE-LCHlch(46.92, 69.23, 306.43°)
OKLaboklab(55.97% 0.0714 -0.1583)
OKLCHoklch(55.97% 0.174 294.3)
XYZxyz(23.1675, 15.9604, 60.2406)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59CE #AACE59
analogous
#596FCE #7D59CE #B859CE
triadic
#7D59CE #CE7D59 #59CE7D
tetradic
#7D59CE #CE596F #AACE59 #59CEB8
square
#7D59CE #CE596F #AACE59 #59CEB8
split-complementary
#7D59CE #CEB859 #6FCE59
monochromatic
#442785 #5C35B5 #7D59CE #A288DC #C7B8EA

Accessibility & contrast

On white

5.01
#7D59CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7D59CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59CE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59CE#FFFFFF#000000##FFFFFF
##7D59CE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#68728B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d59ce;
/* rgb */ color: rgb(125, 89, 206);
/* oklch */ color: oklch(56.0% 0.174 294.3);
Tailwind
colors: {
  custom: {
    50: '#a789de',
    500: '#7d59ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d59ce;
$custom-light: #a789de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59ce",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 258.462,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55968,
    "c": 0.17367,
    "h": 294.3
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#7D59CE
secondary
#CAD9AA
accent
#DE4AB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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