#7E59BC#7E59BC

#7E59BC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.151 H 298.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E59BC
RGBrgb(126, 89, 188)
HSLhsl(262, 42%, 54%)
HSVhsv(262, 53%, 74%)
CMYKcmyk(33%, 52.7%, 0%, 26.3%)
CIE-LABlab(45.92, 36.57, -46.90)
CIE-LCHlch(45.92, 59.47, 307.94°)
OKLaboklab(54.9% 0.0721 -0.1325)
OKLCHoklch(54.9% 0.151 298.6)
XYZxyz(21.2515, 15.2110, 49.3836)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59BC #97BC59
analogous
#5966BC #7E59BC #AF59BC
triadic
#7E59BC #BC7E59 #59BC7E
tetradic
#7E59BC #BC5966 #97BC59 #59BCAF
square
#7E59BC #BC5966 #97BC59 #59BCAF
split-complementary
#7E59BC #BCAF59 #66BC59
monochromatic
#452C6E #603E9A #7E59BC #A085CE #C2B0DF

Accessibility & contrast

On white

5.20
#7E59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7E59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59BC#FFFFFF#000000##FFFFFF
##7E59BC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#716C82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e59bc;
/* rgb */ color: rgb(126, 89, 188);
/* oklch */ color: oklch(54.9% 0.151 298.6);
Tailwind
colors: {
  custom: {
    50: '#a689d1',
    500: '#7e59bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e59bc;
$custom-light: #a689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59bc",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 262.424,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.15081,
    "h": 298.6
  },
  "luminance": 0.15211
}

Semantic roles & 50–950 ramp

primary
#7E59BC
secondary
#BECDA3
accent
#D256A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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