#7D5BD2#7D5BD2

#7D5BD2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.176 H 293.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D5BD2
RGBrgb(125, 91, 210)
HSLhsl(257, 57%, 59%)
HSVhsv(257, 57%, 82%)
CMYKcmyk(40.5%, 56.7%, 0%, 17.6%)
CIE-LABlab(47.62, 41.06, -56.87)
CIE-LCHlch(47.62, 70.15, 305.83°)
OKLaboklab(56.56% 0.069 -0.1618)
OKLCHoklch(56.56% 0.176 293.1)
XYZxyz(23.8283, 16.4947, 62.8886)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BD2 #B0D25B
analogous
#5B75D2 #7D5BD2 #B95BD2
triadic
#7D5BD2 #D27D5B #5BD27D
tetradic
#7D5BD2 #D25B75 #B0D25B #5BD2B9
square
#7D5BD2 #D25B75 #B0D25B #5BD2B9
split-complementary
#7D5BD2 #D2B95B #75D25B
monochromatic
#44268C #5B34BC #7D5BD2 #A38BDF #C9BBEC

Accessibility & contrast

On white

4.88
#7D5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D5BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BD2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BD2#FFFFFF#000000##FFFFFF
##7D5BD21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1872D6
Deuteranopia (green-blind)
#256FCF
Tritanopia (blue-blind)
#66758E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d5bd2;
/* rgb */ color: rgb(125, 91, 210);
/* oklch */ color: oklch(56.6% 0.176 293.1);
Tailwind
colors: {
  custom: {
    50: '#a88ae0',
    500: '#7d5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bd2;
$custom-light: #a88ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bd2",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 257.143,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.17587,
    "h": 293.1
  },
  "luminance": 0.16495
}

Semantic roles & 50–950 ramp

primary
#7D5BD2
secondary
#CEDCAD
accent
#E048B5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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