#7D59EB#7D59EB

#7D59EB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.0% C 0.210 H 289.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D59EB
RGBrgb(125, 89, 235)
HSLhsl(255, 78%, 64%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(46.8%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.89, 49.09, -69.00)
CIE-LCHlch(48.89, 84.68, 305.43°)
OKLaboklab(58.03% 0.0703 -0.1974)
OKLCHoklch(58.03% 0.21 289.6)
XYZxyz(27.0209, 17.5018, 80.5356)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59EB #C7EB59
analogous
#597EEB #7D59EB #C659EB
triadic
#7D59EB #EB7D59 #59EB7D
tetradic
#7D59EB #EB597E #C7EB59 #59EBC6
square
#7D59EB #EB597E #C7EB59 #59EBC6
split-complementary
#7D59EB #EBC659 #7EEB59
monochromatic
#3D16B4 #5222E4 #7D59EB #A890F2 #D3C6F8

Accessibility & contrast

On white

4.67
#7D59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59EB#FFFFFF#000000##FFFFFF
##7D59EB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5A7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d59eb;
/* rgb */ color: rgb(125, 89, 235);
/* oklch */ color: oklch(58.0% 0.210 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa8af2',
    500: '#7d59eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d59eb;
$custom-light: #aa8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59eb",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 254.795,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.20955,
    "h": 289.6
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#7D59EB
secondary
#DDEAB6
accent
#DB0BA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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