#7F59EA#7F59EA

#7F59EA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.208 H 290.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F59EA
RGBrgb(127, 89, 234)
HSLhsl(256, 78%, 63%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(45.7%, 62%, 0%, 8.2%)
CIE-LABlab(49.00, 49.20, -68.24)
CIE-LCHlch(49.00, 84.12, 305.79°)
OKLaboklab(58.14% 0.0729 -0.1951)
OKLCHoklch(58.14% 0.208 290.5)
XYZxyz(27.1719, 17.5963, 79.7907)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59EA #C4EA59
analogous
#597BEA #7F59EA #C759EA
triadic
#7F59EA #EA7F59 #59EA7F
tetradic
#7F59EA #EA597B #C4EA59 #59EAC7
square
#7F59EA #EA597B #C4EA59 #59EAC7
split-complementary
#7F59EA #EAC759 #7BEA59
monochromatic
#3F17B2 #5523E3 #7F59EA #A98FF1 #D3C6F8

Accessibility & contrast

On white

4.65
#7F59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7F59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59EA#FFFFFF#000000##FFFFFF
##7F59EA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#5E7B99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f59ea;
/* rgb */ color: rgb(127, 89, 234);
/* oklch */ color: oklch(58.1% 0.208 290.5);
Tailwind
colors: {
  custom: {
    50: '#ac8af2',
    500: '#7f59ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f59ea;
$custom-light: #ac8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59ea",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 255.724,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.20831,
    "h": 290.5
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#7F59EA
secondary
#DCE9B6
accent
#DA0CA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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