#7D5CAE#7D5CAE

#7D5CAE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.5% C 0.128 H 300.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7D5CAE
RGBrgb(125, 92, 174)
HSLhsl(264, 34%, 52%)
HSVhsv(264, 47%, 68%)
CMYKcmyk(28.2%, 47.1%, 0%, 31.8%)
CIE-LABlab(45.73, 30.93, -39.04)
CIE-LCHlch(45.73, 49.81, 308.39°)
OKLaboklab(54.48% 0.0654 -0.1095)
OKLCHoklch(54.48% 0.128 300.8)
XYZxyz(19.9228, 15.0702, 41.8954)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CAE #8DAE5C
analogous
#5C64AE #7D5CAE #A65CAE
triadic
#7D5CAE #AE7D5C #5CAE7D
tetradic
#7D5CAE #AE5C64 #8DAE5C #5CAEA6
square
#7D5CAE #AE5C64 #8DAE5C #5CAEA6
split-complementary
#7D5CAE #AEA65C #64AE5C
monochromatic
#433060 #604489 #7D5CAE #9E85C2 #BEAED7

Accessibility & contrast

On white

5.23
#7D5CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D5CAE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CAE#FFFFFF#000000##FFFFFF
##7D5CAE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#746B7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d5cae;
/* rgb */ color: rgb(125, 92, 174);
/* oklch */ color: oklch(54.5% 0.128 300.8);
Tailwind
colors: {
  custom: {
    50: '#a58bc6',
    500: '#7d5cae',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cae;
$custom-light: #a58bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cae",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 264.146,
    "s": 33.607,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.12752,
    "h": 300.8
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#7D5CAE
secondary
#B6C5A1
accent
#CA5E9E
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D5CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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