#7F59EB#7F59EB

#7F59EB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.210 H 290.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7F59EB
RGBrgb(127, 89, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(46%, 62.1%, 0%, 7.8%)
CIE-LABlab(49.07, 49.47, -68.69)
CIE-LCHlch(49.07, 84.65, 305.76°)
OKLaboklab(58.21% 0.0729 -0.1964)
OKLCHoklch(58.21% 0.21 290.4)
XYZxyz(27.3159, 17.6539, 80.5494)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59EB #C5EB59
analogous
#597CEB #7F59EB #C859EB
triadic
#7F59EB #EB7F59 #59EB7F
tetradic
#7F59EB #EB597C #C5EB59 #59EBC8
square
#7F59EB #EB597C #C5EB59 #59EBC8
split-complementary
#7F59EB #EBC859 #7CEB59
monochromatic
#3F16B4 #5522E4 #7F59EB #A990F2 #D3C6F8

Accessibility & contrast

On white

4.63
#7F59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7F59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59EB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59EB#FFFFFF#000000##FFFFFF
##7F59EB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5D7B9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f59eb;
/* rgb */ color: rgb(127, 89, 235);
/* oklch */ color: oklch(58.2% 0.210 290.4);
Tailwind
colors: {
  custom: {
    50: '#ac8af2',
    500: '#7f59eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f59eb;
$custom-light: #ac8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59eb",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 255.616,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.20951,
    "h": 290.4
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#7F59EB
secondary
#DCEAB6
accent
#DB0BA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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