#7D5EB3#7D5EB3

#7D5EB3 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.1% C 0.131 H 298.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D5EB3
RGBrgb(125, 94, 179)
HSLhsl(262, 36%, 54%)
HSVhsv(262, 47%, 70%)
CMYKcmyk(30.2%, 47.5%, 0%, 29.8%)
CIE-LABlab(46.47, 31.04, -40.79)
CIE-LCHlch(46.47, 51.26, 307.27°)
OKLaboklab(55.12% 0.0632 -0.1146)
OKLCHoklch(55.12% 0.131 298.9)
XYZxyz(20.5949, 15.6199, 44.5690)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EB3 #94B35E
analogous
#5E69B3 #7D5EB3 #A75EB3
triadic
#7D5EB3 #B37D5E #5EB37D
tetradic
#7D5EB3 #B35E69 #94B35E #5EB3A7
square
#7D5EB3 #B35E69 #94B35E #5EB3A7
split-complementary
#7D5EB3 #B3A75E #69B35E
monochromatic
#443066 #604490 #7D5EB3 #9F88C7 #C0B1DA

Accessibility & contrast

On white

5.09
#7D5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EB3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EB3#FFFFFF#000000##FFFFFF
##7D5EB31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5eb3;
/* rgb */ color: rgb(125, 94, 179);
/* oklch */ color: oklch(55.1% 0.131 298.9);
Tailwind
colors: {
  custom: {
    50: '#a58cca',
    500: '#7d5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5eb3;
$custom-light: #a58cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5eb3",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 261.882,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.13088,
    "h": 298.9
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#7D5EB3
secondary
#BBC9A4
accent
#CC5CA3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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