#7E59F6#7E59F6

#7E59F6 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.223 H 288.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E59F6
RGBrgb(126, 89, 246)
HSLhsl(254, 90%, 66%)
HSVhsv(254, 64%, 96%)
CMYKcmyk(48.8%, 63.8%, 0%, 3.5%)
CIE-LABlab(49.78, 52.33, -73.71)
CIE-LCHlch(49.78, 90.40, 305.37°)
OKLaboklab(58.95% 0.0706 -0.2112)
OKLCHoklch(58.95% 0.223 288.5)
XYZxyz(28.8063, 18.2329, 89.1724)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59F6 #D1F659
analogous
#5982F6 #7E59F6 #CC59F6
triadic
#7E59F6 #F67E59 #59F67E
tetradic
#7E59F6 #F65982 #D1F659 #59F6CC
square
#7E59F6 #F65982 #D1F659 #59F6CC
split-complementary
#7E59F6 #F6CC59 #82F659
monochromatic
#380BCA #511FF3 #7E59F6 #AB93F9 #D8CDFC

Accessibility & contrast

On white

4.52
#7E59F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7E59F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59F6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59F6#FFFFFF#000000##000000
##7E59F61.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#547FA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e59f6;
/* rgb */ color: rgb(126, 89, 246);
/* oklch */ color: oklch(58.9% 0.223 288.5);
Tailwind
colors: {
  custom: {
    50: '#ac8afa',
    500: '#7e59f6',
    950: '#000000',
  },
}
SCSS
$custom: #7e59f6;
$custom-light: #ac8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59f6",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 254.14,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.22271,
    "h": 288.5
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#7E59F6
secondary
#E3F0BB
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59F6

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

Preview Lab → · Contrast checker → · Palette generator →

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