#7D59CA#7D59CA

#7D59CA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.169 H 295.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7D59CA
RGBrgb(125, 89, 202)
HSLhsl(259, 52%, 57%)
HSVhsv(259, 56%, 79%)
CMYKcmyk(38.1%, 55.9%, 0%, 20.8%)
CIE-LABlab(46.67, 40.03, -53.81)
CIE-LCHlch(46.67, 67.07, 306.65°)
OKLaboklab(55.7% 0.0714 -0.1527)
OKLCHoklch(55.7% 0.169 295)
XYZxyz(22.6877, 15.7685, 57.7140)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59CA #A6CA59
analogous
#596ECA #7D59CA #B659CA
triadic
#7D59CA #CA7D59 #59CA7D
tetradic
#7D59CA #CA596E #A6CA59 #59CAB6
square
#7D59CA #CA596E #A6CA59 #59CAB6
split-complementary
#7D59CA #CAB659 #6ECA59
monochromatic
#452980 #5D38AE #7D59CA #A187D9 #C6B6E8

Accessibility & contrast

On white

5.06
#7D59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7D59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59CA#FFFFFF#000000##FFFFFF
##7D59CA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CE
Deuteranopia (green-blind)
#2D6DC7
Tritanopia (blue-blind)
#6A7189
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d59ca;
/* rgb */ color: rgb(125, 89, 202);
/* oklch */ color: oklch(55.7% 0.169 295.0);
Tailwind
colors: {
  custom: {
    50: '#a789db',
    500: '#7d59ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d59ca;
$custom-light: #a789db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59ca",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 259.115,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.16861,
    "h": 295
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#7D59CA
secondary
#C8D6A8
accent
#DB4DAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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