#7F59BF#7F59BF

#7F59BF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.2% C 0.155 H 298.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7F59BF
RGBrgb(127, 89, 191)
HSLhsl(262, 44%, 55%)
HSVhsv(262, 53%, 75%)
CMYKcmyk(33.5%, 53.4%, 0%, 25.1%)
CIE-LABlab(46.20, 37.61, -48.19)
CIE-LCHlch(46.20, 61.13, 307.97°)
OKLaboklab(55.19% 0.0736 -0.1362)
OKLCHoklch(55.19% 0.155 298.4)
XYZxyz(21.7264, 15.4181, 51.1115)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59BF #99BF59
analogous
#5966BF #7F59BF #B259BF
triadic
#7F59BF #BF7F59 #59BF7F
tetradic
#7F59BF #BF5966 #99BF59 #59BFB2
square
#7F59BF #BF5966 #99BF59 #59BFB2
split-complementary
#7F59BF #BFB259 #66BF59
monochromatic
#462C72 #613D9E #7F59BF #A185D0 #C3B1E1

Accessibility & contrast

On white

5.14
#7F59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7F59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59BF#FFFFFF#000000##FFFFFF
##7F59BF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC2
Deuteranopia (green-blind)
#3C6CBD
Tritanopia (blue-blind)
#716D83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f59bf;
/* rgb */ color: rgb(127, 89, 191);
/* oklch */ color: oklch(55.2% 0.155 298.4);
Tailwind
colors: {
  custom: {
    50: '#a789d3',
    500: '#7f59bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f59bf;
$custom-light: #a789d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59bf",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 262.353,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55187,
    "c": 0.15481,
    "h": 298.4
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#7F59BF
secondary
#BFCFA4
accent
#D454A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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