#7F59ED#7F59ED

#7F59ED is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.212 H 290.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F59ED
RGBrgb(127, 89, 237)
HSLhsl(255, 80%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(46.4%, 62.4%, 0%, 7.1%)
CIE-LABlab(49.22, 50.02, -69.58)
CIE-LCHlch(49.22, 85.69, 305.71°)
OKLaboklab(58.36% 0.0727 -0.1991)
OKLCHoklch(58.36% 0.212 290.1)
XYZxyz(27.6065, 17.7702, 82.0797)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59ED #C7ED59
analogous
#597DED #7F59ED #C959ED
triadic
#7F59ED #ED7F59 #59ED7F
tetradic
#7F59ED #ED597D #C7ED59 #59EDC9
square
#7F59ED #ED597D #C7ED59 #59EDC9
split-complementary
#7F59ED #EDC959 #7DED59
monochromatic
#3E14B8 #5422E7 #7F59ED #AA90F3 #D4C7F9

Accessibility & contrast

On white

4.61
#7F59ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7F59ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59ED
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59ED#FFFFFF#000000##FFFFFF
##7F59ED1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#5C7C9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f59ed;
/* rgb */ color: rgb(127, 89, 237);
/* oklch */ color: oklch(58.4% 0.212 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac8af4',
    500: '#7f59ed',
    950: '#000000',
  },
}
SCSS
$custom: #7f59ed;
$custom-light: #ac8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59ed",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 255.405,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.21192,
    "h": 290.1
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#7F59ED
secondary
#DEEBB7
accent
#DD09A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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