#7D59BE#7D59BE

#7D59BE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.153 H 297.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D59BE
RGBrgb(125, 89, 190)
HSLhsl(261, 44%, 55%)
HSVhsv(261, 53%, 75%)
CMYKcmyk(34.2%, 53.2%, 0%, 25.5%)
CIE-LABlab(45.94, 36.84, -48.05)
CIE-LCHlch(45.94, 60.54, 307.48°)
OKLaboklab(54.92% 0.071 -0.1358)
OKLCHoklch(54.92% 0.153 297.6)
XYZxyz(21.3218, 15.2222, 50.5200)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59BE #9ABE59
analogous
#5968BE #7D59BE #B059BE
triadic
#7D59BE #BE7D59 #59BE7D
tetradic
#7D59BE #BE5968 #9ABE59 #59BEB0
square
#7D59BE #BE5968 #9ABE59 #59BEB0
split-complementary
#7D59BE #BEB059 #68BE59
monochromatic
#442C71 #5F3D9D #7D59BE #9F85CF #C2B1E0

Accessibility & contrast

On white

5.19
#7D59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7D59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59BE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59BE#FFFFFF#000000##FFFFFF
##7D59BE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#6F6D83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d59be;
/* rgb */ color: rgb(125, 89, 190);
/* oklch */ color: oklch(54.9% 0.153 297.6);
Tailwind
colors: {
  custom: {
    50: '#a689d2',
    500: '#7d59be',
    950: '#000000',
  },
}
SCSS
$custom: #7d59be;
$custom-light: #a689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59be",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 261.386,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.15325,
    "h": 297.6
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#7D59BE
secondary
#C0CFA4
accent
#D354A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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