#7F59CF#7F59CF

#7F59CF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.175 H 295.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7F59CF
RGBrgb(127, 89, 207)
HSLhsl(259, 55%, 58%)
HSVhsv(259, 57%, 81%)
CMYKcmyk(38.6%, 57%, 0%, 18.8%)
CIE-LABlab(47.19, 41.84, -55.84)
CIE-LCHlch(47.19, 69.78, 306.85°)
OKLaboklab(56.23% 0.074 -0.1587)
OKLCHoklch(56.23% 0.175 295)
XYZxyz(23.5843, 16.1613, 60.8962)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F59CF #A9CF59
analogous
#596ECF #7F59CF #BA59CF
triadic
#7F59CF #CF7F59 #59CF7F
tetradic
#7F59CF #CF596E #A9CF59 #59CFBA
square
#7F59CF #CF596E #A9CF59 #59CFBA
split-complementary
#7F59CF #CFBA59 #6ECF59
monochromatic
#462787 #5E35B6 #7F59CF #A488DD #C8B8EA

Accessibility & contrast

On white

4.96
#7F59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7F59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F59CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F59CF#FFFFFF#000000##FFFFFF
##7F59CF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#6B728B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f59cf;
/* rgb */ color: rgb(127, 89, 207);
/* oklch */ color: oklch(56.2% 0.175 295.0);
Tailwind
colors: {
  custom: {
    50: '#a989de',
    500: '#7f59cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f59cf;
$custom-light: #a989de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f59cf",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 259.322,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.17507,
    "h": 295
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#7F59CF
secondary
#CAD9AA
accent
#DE49AE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7F59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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