#7F59FD#7F59FD

#7F59FD is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.231 H 287.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F59FD
RGBrgb(127, 89, 253)
HSLhsl(254, 98%, 67%)
HSVhsv(254, 65%, 99%)
CMYKcmyk(49.8%, 64.8%, 0%, 0.8%)
CIE-LABlab(50.39, 54.45, -76.61)
CIE-LCHlch(50.39, 93.99, 305.41°)
OKLaboklab(59.58% 0.0711 -0.2197)
OKLCHoklch(59.58% 0.231 287.9)
XYZxyz(30.0492, 18.7472, 94.9447)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59FD #D7FD59
analogous
#5985FD #7F59FD #D159FD
triadic
#7F59FD #FD7F59 #59FD7F
tetradic
#7F59FD #FD5985 #D7FD59 #59FDD1
square
#7F59FD #FD5985 #D7FD59 #59FDD1
split-complementary
#7F59FD #FDD159 #85FD59
monochromatic
#3403D9 #501DFC #7F59FD #AE95FE #DCD2FE

Accessibility & contrast

On white

4.42
#7F59FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7F59FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F59FD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59FD#FFFFFF#000000##000000
##7F59FD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#5181A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f59fd;
/* rgb */ color: rgb(127, 89, 253);
/* oklch */ color: oklch(59.6% 0.231 287.9);
Tailwind
colors: {
  custom: {
    50: '#ae8aff',
    500: '#7f59fd',
    950: '#000000',
  },
}
SCSS
$custom: #7f59fd;
$custom-light: #ae8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59fd",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 253
  },
  "hsl": {
    "h": 253.902,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.23093,
    "h": 287.9
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#7F59FD
secondary
#E7F3BF
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F59FD

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

Preview Lab → · Contrast checker → · Palette generator →

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