#7A59EA#7A59EA

#7A59EA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.208 H 288.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A59EA
RGBrgb(122, 89, 234)
HSLhsl(254, 78%, 63%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(47.9%, 62%, 0%, 8.2%)
CIE-LABlab(48.54, 48.24, -69.01)
CIE-LCHlch(48.54, 84.20, 304.95°)
OKLaboklab(57.69% 0.0664 -0.1975)
OKLCHoklch(57.69% 0.208 288.6)
XYZxyz(26.4454, 17.2217, 79.7567)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A59EA #C9EA59
analogous
#5980EA #7A59EA #C259EA
triadic
#7A59EA #EA7A59 #59EA7A
tetradic
#7A59EA #EA5980 #C9EA59 #59EAC2
square
#7A59EA #EA5980 #C9EA59 #59EAC2
split-complementary
#7A59EA #EAC259 #80EA59
monochromatic
#3A17B2 #4E23E3 #7A59EA #A68FF1 #D1C6F8

Accessibility & contrast

On white

4.72
#7A59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7A59EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A59EA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A59EA#FFFFFF#000000##FFFFFF
##7A59EA1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#547B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a59ea;
/* rgb */ color: rgb(122, 89, 234);
/* oklch */ color: oklch(57.7% 0.208 288.6);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7a59ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a59ea;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a59ea",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 253.655,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.20842,
    "h": 288.6
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#7A59EA
secondary
#DDE9B6
accent
#DA0CAB
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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