#7F59EE#7F59EE

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

Color values

HEX#7F59EE
RGBrgb(127, 89, 238)
HSLhsl(255, 81%, 64%)
HSVhsv(255, 63%, 93%)
CMYKcmyk(46.6%, 62.6%, 0%, 6.7%)
CIE-LABlab(49.29, 50.30, -70.02)
CIE-LCHlch(49.29, 86.22, 305.69°)
OKLaboklab(58.43% 0.0726 -0.2004)
OKLCHoklch(58.43% 0.213 289.9)
XYZxyz(27.7530, 17.8288, 82.8513)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59EE #C8EE59
analogous
#597EEE #7F59EE #CA59EE
triadic
#7F59EE #EE7F59 #59EE7F
tetradic
#7F59EE #EE597E #C8EE59 #59EECA
square
#7F59EE #EE597E #C8EE59 #59EECA
split-complementary
#7F59EE #EECA59 #7EEE59
monochromatic
#3D13BA #5421E8 #7F59EE #AA91F4 #D5C8F9

Accessibility & contrast

On white

4.60
#7F59EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7F59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59EE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59EE#FFFFFF#000000##FFFFFF
##7F59EE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f59ee;
/* rgb */ color: rgb(127, 89, 238);
/* oklch */ color: oklch(58.4% 0.213 289.9);
Tailwind
colors: {
  custom: {
    50: '#ac8af4',
    500: '#7f59ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f59ee;
$custom-light: #ac8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59ee",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 255.302,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.21312,
    "h": 289.9
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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