#7D5EB4#7D5EB4

#7D5EB4 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.2% C 0.132 H 298.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7D5EB4
RGBrgb(125, 94, 180)
HSLhsl(262, 36%, 54%)
HSVhsv(262, 48%, 71%)
CMYKcmyk(30.6%, 47.8%, 0%, 29.4%)
CIE-LABlab(46.53, 31.30, -41.29)
CIE-LCHlch(46.53, 51.81, 307.17°)
OKLaboklab(55.18% 0.0633 -0.1161)
OKLCHoklch(55.18% 0.132 298.6)
XYZxyz(20.6964, 15.6605, 45.1036)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EB4 #95B45E
analogous
#5E6AB4 #7D5EB4 #A85EB4
triadic
#7D5EB4 #B47D5E #5EB47D
tetradic
#7D5EB4 #B45E6A #95B45E #5EB4A8
square
#7D5EB4 #B45E6A #95B45E #5EB4A8
split-complementary
#7D5EB4 #B4A85E #6AB45E
monochromatic
#443067 #604491 #7D5EB4 #9F88C7 #C0B1DB

Accessibility & contrast

On white

5.08
#7D5EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7D5EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EB4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EB4#FFFFFF#000000##FFFFFF
##7D5EB41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB7
Deuteranopia (green-blind)
#4A6DB2
Tritanopia (blue-blind)
#726E80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d5eb4;
/* rgb */ color: rgb(125, 94, 180);
/* oklch */ color: oklch(55.2% 0.132 298.6);
Tailwind
colors: {
  custom: {
    50: '#a58ccb',
    500: '#7d5eb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d5eb4;
$custom-light: #a58ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5eb4",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 261.628,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.13221,
    "h": 298.6
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#7D5EB4
secondary
#BCC9A5
accent
#CC5BA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D5EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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