#7D59EA#7D59EA

#7D59EA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.208 H 289.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D59EA
RGBrgb(125, 89, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(46.6%, 62%, 0%, 8.2%)
CIE-LABlab(48.81, 48.81, -68.55)
CIE-LCHlch(48.81, 84.15, 305.45°)
OKLaboklab(57.95% 0.0703 -0.1961)
OKLCHoklch(57.95% 0.208 289.7)
XYZxyz(26.8769, 17.4442, 79.7769)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59EA #C6EA59
analogous
#597DEA #7D59EA #C659EA
triadic
#7D59EA #EA7D59 #59EA7D
tetradic
#7D59EA #EA597D #C6EA59 #59EAC6
square
#7D59EA #EA597D #C6EA59 #59EAC6
split-complementary
#7D59EA #EAC659 #7DEA59
monochromatic
#3D17B2 #5223E3 #7D59EA #A88FF1 #D2C6F8

Accessibility & contrast

On white

4.68
#7D59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7D59EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59EA#FFFFFF#000000##FFFFFF
##7D59EA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#5A7B99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d59ea;
/* rgb */ color: rgb(125, 89, 234);
/* oklch */ color: oklch(58.0% 0.208 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa8af2',
    500: '#7d59ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d59ea;
$custom-light: #aa8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59ea",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 254.897,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57953,
    "c": 0.20833,
    "h": 289.7
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#7D59EA
secondary
#DCE9B6
accent
#DA0CA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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