#7F59F3#7F59F3

#7F59F3 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.219 H 289.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7F59F3
RGBrgb(127, 89, 243)
HSLhsl(255, 87%, 65%)
HSVhsv(255, 63%, 95%)
CMYKcmyk(47.7%, 63.4%, 0%, 4.7%)
CIE-LABlab(49.65, 51.68, -72.24)
CIE-LCHlch(49.65, 88.82, 305.58°)
OKLaboklab(58.81% 0.0722 -0.2069)
OKLCHoklch(58.81% 0.219 289.2)
XYZxyz(28.4978, 18.1267, 86.7739)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59F3 #CDF359
analogous
#5980F3 #7F59F3 #CC59F3
triadic
#7F59F3 #F37F59 #59F37F
tetradic
#7F59F3 #F35980 #CDF359 #59F3CC
square
#7F59F3 #F35980 #CDF359 #59F3CC
split-complementary
#7F59F3 #F3CC59 #80F359
monochromatic
#3B0EC3 #5320EF #7F59F3 #AB92F7 #D7CBFB

Accessibility & contrast

On white

4.54
#7F59F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7F59F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F59F3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59F3#FFFFFF#000000##000000
##7F59F31.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#587E9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f59f3;
/* rgb */ color: rgb(127, 89, 243);
/* oklch */ color: oklch(58.8% 0.219 289.2);
Tailwind
colors: {
  custom: {
    50: '#ad8af8',
    500: '#7f59f3',
    950: '#000000',
  },
}
SCSS
$custom: #7f59f3;
$custom-light: #ad8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59f3",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 254.805,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.2191,
    "h": 289.2
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#7F59F3
secondary
#E1EEBA
accent
#E302AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F59F3

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

Preview Lab → · Contrast checker → · Palette generator →

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