#7E59CF#7E59CF

#7E59CF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.175 H 294.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E59CF
RGBrgb(126, 89, 207)
HSLhsl(259, 55%, 58%)
HSVhsv(259, 57%, 81%)
CMYKcmyk(39.1%, 57%, 0%, 18.8%)
CIE-LABlab(47.09, 41.61, -56.01)
CIE-LCHlch(47.09, 69.77, 306.61°)
OKLaboklab(56.13% 0.0727 -0.1592)
OKLCHoklch(56.13% 0.175 294.5)
XYZxyz(23.4361, 16.0849, 60.8893)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59CF #AACF59
analogous
#596FCF #7E59CF #B959CF
triadic
#7E59CF #CF7E59 #59CF7E
tetradic
#7E59CF #CF596F #AACF59 #59CFB9
square
#7E59CF #CF596F #AACF59 #59CFB9
split-complementary
#7E59CF #CFB959 #6FCF59
monochromatic
#452787 #5D35B6 #7E59CF #A388DD #C8B8EA

Accessibility & contrast

On white

4.98
#7E59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7E59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59CF#FFFFFF#000000##FFFFFF
##7E59CF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#276ECC
Tritanopia (blue-blind)
#6A728B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e59cf;
/* rgb */ color: rgb(126, 89, 207);
/* oklch */ color: oklch(56.1% 0.175 294.5);
Tailwind
colors: {
  custom: {
    50: '#a889de',
    500: '#7e59cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e59cf;
$custom-light: #a889de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59cf",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 258.814,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.175,
    "h": 294.5
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#7E59CF
secondary
#CBD9AA
accent
#DE49B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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