#7F59EC#7F59EC

#7F59EC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.211 H 290.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7F59EC
RGBrgb(127, 89, 236)
HSLhsl(256, 79%, 64%)
HSVhsv(256, 62%, 93%)
CMYKcmyk(46.2%, 62.3%, 0%, 7.5%)
CIE-LABlab(49.14, 49.75, -69.13)
CIE-LCHlch(49.14, 85.17, 305.74°)
OKLaboklab(58.28% 0.0728 -0.1977)
OKLCHoklch(58.28% 0.211 290.2)
XYZxyz(27.4608, 17.7119, 81.3125)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59EC #C6EC59
analogous
#597CEC #7F59EC #C859EC
triadic
#7F59EC #EC7F59 #59EC7F
tetradic
#7F59EC #EC597C #C6EC59 #59ECC8
square
#7F59EC #EC597C #C6EC59 #59ECC8
split-complementary
#7F59EC #ECC859 #7CEC59
monochromatic
#3E15B6 #5522E6 #7F59EC #A990F2 #D4C7F9

Accessibility & contrast

On white

4.62
#7F59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7F59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59EC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59EC#FFFFFF#000000##FFFFFF
##7F59EC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#5D7C9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f59ec;
/* rgb */ color: rgb(127, 89, 236);
/* oklch */ color: oklch(58.3% 0.211 290.2);
Tailwind
colors: {
  custom: {
    50: '#ac8af3',
    500: '#7f59ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f59ec;
$custom-light: #ac8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59ec",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 255.51,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.21072,
    "h": 290.2
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#7F59EC
secondary
#DDEAB6
accent
#DC0AA5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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