#7E59BF#7E59BF

#7E59BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.1% C 0.155 H 297.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7E59BF
RGBrgb(126, 89, 191)
HSLhsl(262, 44%, 55%)
HSVhsv(262, 53%, 75%)
CMYKcmyk(34%, 53.4%, 0%, 25.1%)
CIE-LABlab(46.10, 37.35, -48.36)
CIE-LCHlch(46.10, 61.11, 307.68°)
OKLaboklab(55.09% 0.0723 -0.1367)
OKLCHoklch(55.09% 0.155 297.9)
XYZxyz(21.5782, 15.3417, 51.1045)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59BF #9ABF59
analogous
#5967BF #7E59BF #B159BF
triadic
#7E59BF #BF7E59 #59BF7E
tetradic
#7E59BF #BF5967 #9ABF59 #59BFB1
square
#7E59BF #BF5967 #9ABF59 #59BFB1
split-complementary
#7E59BF #BFB159 #67BF59
monochromatic
#452C72 #603D9E #7E59BF #A085D0 #C3B1E1

Accessibility & contrast

On white

5.16
#7E59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7E59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59BF#FFFFFF#000000##FFFFFF
##7E59BF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC2
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#706D83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e59bf;
/* rgb */ color: rgb(126, 89, 191);
/* oklch */ color: oklch(55.1% 0.155 297.9);
Tailwind
colors: {
  custom: {
    50: '#a789d3',
    500: '#7e59bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e59bf;
$custom-light: #a789d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59bf",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 261.765,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.15467,
    "h": 297.9
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#7E59BF
secondary
#C0CFA4
accent
#D454A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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