#7D59EC#7D59EC

#7D59EC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.211 H 289.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D59EC
RGBrgb(125, 89, 236)
HSLhsl(255, 79%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(47%, 62.3%, 0%, 7.5%)
CIE-LABlab(48.96, 49.36, -69.45)
CIE-LCHlch(48.96, 85.20, 305.41°)
OKLaboklab(58.1% 0.0702 -0.1987)
OKLCHoklch(58.1% 0.211 289.4)
XYZxyz(27.1658, 17.5598, 81.2986)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59EC #C8EC59
analogous
#597EEC #7D59EC #C659EC
triadic
#7D59EC #EC7D59 #59EC7D
tetradic
#7D59EC #EC597E #C8EC59 #59ECC6
square
#7D59EC #EC597E #C8EC59 #59ECC6
split-complementary
#7D59EC #ECC659 #7EEC59
monochromatic
#3C15B6 #5222E6 #7D59EC #A890F2 #D3C7F9

Accessibility & contrast

On white

4.65
#7D59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7D59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59EC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59EC#FFFFFF#000000##FFFFFF
##7D59EC1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#597C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d59ec;
/* rgb */ color: rgb(125, 89, 236);
/* oklch */ color: oklch(58.1% 0.211 289.4);
Tailwind
colors: {
  custom: {
    50: '#ab8af3',
    500: '#7d59ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d59ec;
$custom-light: #ab8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59ec",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 254.694,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.21075,
    "h": 289.4
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#7D59EC
secondary
#DEEAB6
accent
#DC0AA8
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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