#7A59BF#7A59BF

#7A59BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.154 H 295.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7A59BF
RGBrgb(122, 89, 191)
HSLhsl(259, 44%, 55%)
HSVhsv(259, 53%, 75%)
CMYKcmyk(36.1%, 53.4%, 0%, 25.1%)
CIE-LABlab(45.69, 36.35, -49.03)
CIE-LCHlch(45.69, 61.04, 306.55°)
OKLaboklab(54.69% 0.0671 -0.1388)
OKLCHoklch(54.69% 0.154 295.8)
XYZxyz(21.0000, 15.0436, 51.0774)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A59BF #9EBF59
analogous
#596BBF #7A59BF #AD59BF
triadic
#7A59BF #BF7A59 #59BF7A
tetradic
#7A59BF #BF596B #9EBF59 #59BFAD
square
#7A59BF #BF596B #9EBF59 #59BFAD
split-complementary
#7A59BF #BFAD59 #6BBF59
monochromatic
#422C72 #5C3D9E #7A59BF #9D85D0 #C1B1E1

Accessibility & contrast

On white

5.24
#7A59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7A59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A59BF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A59BF#FFFFFF#000000##FFFFFF
##7A59BF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#6A6E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a59bf;
/* rgb */ color: rgb(122, 89, 191);
/* oklch */ color: oklch(54.7% 0.154 295.8);
Tailwind
colors: {
  custom: {
    50: '#a489d3',
    500: '#7a59bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a59bf;
$custom-light: #a489d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a59bf",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 259.412,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.1542,
    "h": 295.8
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#7A59BF
secondary
#C1CFA4
accent
#D454AB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7A59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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