#7D5CB7#7D5CB7

#7D5CB7 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.139 H 298.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7D5CB7
RGBrgb(125, 92, 183)
HSLhsl(262, 39%, 54%)
HSVhsv(262, 50%, 72%)
CMYKcmyk(31.7%, 49.7%, 0%, 28.2%)
CIE-LABlab(46.22, 33.26, -43.52)
CIE-LCHlch(46.22, 54.77, 307.39°)
OKLaboklab(55.01% 0.0664 -0.1226)
OKLCHoklch(55.01% 0.139 298.4)
XYZxyz(20.8298, 15.4330, 46.6720)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CB7 #96B75C
analogous
#5C69B7 #7D5CB7 #AB5CB7
triadic
#7D5CB7 #B77D5C #5CB77D
tetradic
#7D5CB7 #B75C69 #96B75C #5CB7AB
square
#7D5CB7 #B75C69 #96B75C #5CB7AB
split-complementary
#7D5CB7 #B7AB5C #69B75C
monochromatic
#442F6A #604294 #7D5CB7 #9F86CA #C1B1DD

Accessibility & contrast

On white

5.14
#7D5CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7D5CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CB7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CB7#FFFFFF#000000##FFFFFF
##7D5CB71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#716D81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d5cb7;
/* rgb */ color: rgb(125, 92, 183);
/* oklch */ color: oklch(55.0% 0.139 298.4);
Tailwind
colors: {
  custom: {
    50: '#a58bcd',
    500: '#7d5cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cb7;
$custom-light: #a58bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cb7",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 261.758,
    "s": 38.723,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.13941,
    "h": 298.4
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#7D5CB7
secondary
#BDCBA4
accent
#CF59A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #7D5CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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