#7D59EF#7D59EF

#7D59EF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.214 H 289.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D59EF
RGBrgb(125, 89, 239)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(47.7%, 62.8%, 0%, 6.3%)
CIE-LABlab(49.17, 50.20, -70.78)
CIE-LCHlch(49.17, 86.77, 305.35°)
OKLaboklab(58.33% 0.0699 -0.2026)
OKLCHoklch(58.33% 0.214 289)
XYZxyz(27.6053, 17.7356, 83.6134)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59EF #CBEF59
analogous
#5980EF #7D59EF #C859EF
triadic
#7D59EF #EF7D59 #59EF7D
tetradic
#7D59EF #EF5980 #CBEF59 #59EFC8
square
#7D59EF #EF5980 #CBEF59 #59EFC8
split-complementary
#7D59EF #EFC859 #80EF59
monochromatic
#3B12BC #5121EA #7D59EF #A991F4 #D4C9FA

Accessibility & contrast

On white

4.62
#7D59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7D59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59EF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59EF#FFFFFF#000000##FFFFFF
##7D59EF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#577D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d59ef;
/* rgb */ color: rgb(125, 89, 239);
/* oklch */ color: oklch(58.3% 0.214 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab8af5',
    500: '#7d59ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d59ef;
$custom-light: #ab8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59ef",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 254.4,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.21437,
    "h": 289
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#7D59EF
secondary
#DFECB8
accent
#DF07AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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