#7E59DF#7E59DF

#7E59DF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.195 H 291.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7E59DF
RGBrgb(126, 89, 223)
HSLhsl(257, 68%, 61%)
HSVhsv(257, 60%, 87%)
CMYKcmyk(43.5%, 60.1%, 0%, 12.5%)
CIE-LABlab(48.14, 45.97, -63.42)
CIE-LCHlch(48.14, 78.33, 305.93°)
OKLaboklab(57.24% 0.0723 -0.181)
OKLCHoklch(57.24% 0.195 291.8)
XYZxyz(25.4922, 16.9073, 71.7180)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59DF #BADF59
analogous
#5977DF #7E59DF #C159DF
triadic
#7E59DF #DF7E59 #59DF7E
tetradic
#7E59DF #DF5977 #BADF59 #59DFC1
square
#7E59DF #DF5977 #BADF59 #59DFC1
split-complementary
#7E59DF #DFC159 #77DF59
monochromatic
#421F9F #5729D2 #7E59DF #A68CE9 #CEC0F3

Accessibility & contrast

On white

4.79
#7E59DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7E59DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59DF#FFFFFF#000000##FFFFFF
##7E59DF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#627794
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e59df;
/* rgb */ color: rgb(126, 89, 223);
/* oklch */ color: oklch(57.2% 0.195 291.8);
Tailwind
colors: {
  custom: {
    50: '#aa89ea',
    500: '#7e59df',
    950: '#000000',
  },
}
SCSS
$custom: #7e59df;
$custom-light: #aa89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59df",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 256.567,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.19489,
    "h": 291.8
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#7E59DF
secondary
#D5E3B1
accent
#D0169C
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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