#7C59CE#7C59CE

#7C59CE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.174 H 293.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7C59CE
RGBrgb(124, 89, 206)
HSLhsl(258, 54%, 58%)
HSVhsv(258, 57%, 81%)
CMYKcmyk(39.8%, 56.8%, 0%, 19.2%)
CIE-LABlab(46.82, 40.89, -55.86)
CIE-LCHlch(46.82, 69.23, 306.20°)
OKLaboklab(55.87% 0.0701 -0.1588)
OKLCHoklch(55.87% 0.174 293.8)
XYZxyz(23.0222, 15.8855, 60.2338)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C59CE #ABCE59
analogous
#5970CE #7C59CE #B759CE
triadic
#7C59CE #CE7C59 #59CE7C
tetradic
#7C59CE #CE5970 #ABCE59 #59CEB7
square
#7C59CE #CE5970 #ABCE59 #59CEB7
split-complementary
#7C59CE #CEB759 #70CE59
monochromatic
#432785 #5B35B5 #7C59CE #A188DC #C7B8EA

Accessibility & contrast

On white

5.03
#7C59CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7C59CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C59CE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C59CE#FFFFFF#000000##FFFFFF
##7C59CE1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#67728B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c59ce;
/* rgb */ color: rgb(124, 89, 206);
/* oklch */ color: oklch(55.9% 0.174 293.8);
Tailwind
colors: {
  custom: {
    50: '#a789de',
    500: '#7c59ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c59ce;
$custom-light: #a789de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c59ce",
  "rgb": {
    "r": 124,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 257.949,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.17361,
    "h": 293.8
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#7C59CE
secondary
#CBD9AA
accent
#DE4AB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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