#7F59F0#7F59F0

#7F59F0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.216 H 289.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7F59F0
RGBrgb(127, 89, 240)
HSLhsl(255, 83%, 65%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.1%, 62.9%, 0%, 5.9%)
CIE-LABlab(49.43, 50.85, -70.91)
CIE-LCHlch(49.43, 87.26, 305.64°)
OKLaboklab(58.58% 0.0724 -0.203)
OKLCHoklch(58.58% 0.216 289.6)
XYZxyz(28.0485, 17.9469, 84.4074)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59F0 #CAF059
analogous
#597FF0 #7F59F0 #CA59F0
triadic
#7F59F0 #F07F59 #59F07F
tetradic
#7F59F0 #F0597F #CAF059 #59F0CA
square
#7F59F0 #F0597F #CAF059 #59F0CA
split-complementary
#7F59F0 #F0CA59 #7FF059
monochromatic
#3C11BD #5421EB #7F59F0 #AA91F5 #D6C9FA

Accessibility & contrast

On white

4.58
#7F59F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7F59F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F59F0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59F0#FFFFFF#000000##000000
##7F59F01.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#5A7D9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f59f0;
/* rgb */ color: rgb(127, 89, 240);
/* oklch */ color: oklch(58.6% 0.216 289.6);
Tailwind
colors: {
  custom: {
    50: '#ac8af6',
    500: '#7f59f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f59f0;
$custom-light: #ac8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59f0",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 255.099,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.21552,
    "h": 289.6
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#7F59F0
secondary
#DFECB8
accent
#E006A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F59F0

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

Preview Lab → · Contrast checker → · Palette generator →

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