#7D59B2#7D59B2

#7D59B2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.2% C 0.138 H 300.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D59B2
RGBrgb(125, 89, 178)
HSLhsl(264, 37%, 52%)
HSVhsv(264, 50%, 70%)
CMYKcmyk(29.8%, 50%, 0%, 30.2%)
CIE-LABlab(45.25, 33.72, -42.15)
CIE-LCHlch(45.25, 53.97, 308.66°)
OKLaboklab(54.19% 0.07 -0.1186)
OKLCHoklch(54.19% 0.138 300.6)
XYZxyz(20.0638, 14.7190, 43.8949)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59B2 #8EB259
analogous
#5961B2 #7D59B2 #AA59B2
triadic
#7D59B2 #B27D59 #59B27D
tetradic
#7D59B2 #B25961 #8EB259 #59B2AA
square
#7D59B2 #B25961 #8EB259 #59B2AA
split-complementary
#7D59B2 #B2AA59 #61B259
monochromatic
#432E63 #60418D #7D59B2 #9E83C5 #BEADD9

Accessibility & contrast

On white

5.32
#7D59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7D59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D59B2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59B2#FFFFFF#000000##FFFFFF
##7D59B21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#73697D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d59b2;
/* rgb */ color: rgb(125, 89, 178);
/* oklch */ color: oklch(54.2% 0.138 300.6);
Tailwind
colors: {
  custom: {
    50: '#a589c9',
    500: '#7d59b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d59b2;
$custom-light: #a589c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59b2",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 264.27,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.1377,
    "h": 300.6
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#7D59B2
secondary
#B7C7A0
accent
#CD5B9F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7D59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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