#7D5EBE#7D5EBE

#7D5EBE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.8% C 0.145 H 296.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D5EBE
RGBrgb(125, 94, 190)
HSLhsl(259, 42%, 56%)
HSVhsv(259, 51%, 75%)
CMYKcmyk(34.2%, 50.5%, 0%, 25.5%)
CIE-LABlab(47.08, 33.93, -46.22)
CIE-LCHlch(47.08, 57.33, 306.28°)
OKLaboklab(55.78% 0.0644 -0.1305)
OKLCHoklch(55.78% 0.146 296.3)
XYZxyz(21.7521, 16.0828, 50.6635)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EBE #9FBE5E
analogous
#5E6FBE #7D5EBE #AD5EBE
triadic
#7D5EBE #BE7D5E #5EBE7D
tetradic
#7D5EBE #BE5E6F #9FBE5E #5EBEAD
square
#7D5EBE #BE5E6F #9FBE5E #5EBEAD
split-complementary
#7D5EBE #BEAD5E #6FBE5E
monochromatic
#452E73 #5F409F #7D5EBE #A08AD0 #C3B5E1

Accessibility & contrast

On white

4.98
#7D5EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7D5EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EBE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EBE#FFFFFF#000000##FFFFFF
##7D5EBE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#426EBC
Tritanopia (blue-blind)
#6E7185
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5ebe;
/* rgb */ color: rgb(125, 94, 190);
/* oklch */ color: oklch(55.8% 0.145 296.3);
Tailwind
colors: {
  custom: {
    50: '#a68cd2',
    500: '#7d5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ebe;
$custom-light: #a68cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ebe",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 259.375,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55776,
    "c": 0.1455,
    "h": 296.3
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#7D5EBE
secondary
#C3D0A8
accent
#D256AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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