#7D5BD6#7D5BD6

#7D5BD6 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.181 H 292.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D5BD6
RGBrgb(125, 91, 214)
HSLhsl(257, 60%, 60%)
HSVhsv(257, 57%, 84%)
CMYKcmyk(41.6%, 57.5%, 0%, 16.1%)
CIE-LABlab(47.88, 42.16, -58.74)
CIE-LCHlch(47.88, 72.31, 305.67°)
OKLaboklab(56.83% 0.069 -0.1672)
OKLCHoklch(56.83% 0.181 292.4)
XYZxyz(24.3328, 16.6965, 65.5460)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BD6 #B4D65B
analogous
#5B77D6 #7D5BD6 #BA5BD6
triadic
#7D5BD6 #D67D5B #5BD67D
tetradic
#7D5BD6 #D65B77 #B4D65B #5BD6BA
square
#7D5BD6 #D65B77 #B4D65B #5BD6BA
split-complementary
#7D5BD6 #D6BA5B #77D65B
monochromatic
#432592 #5931C3 #7D5BD6 #A48CE2 #CBBDEE

Accessibility & contrast

On white

4.84
#7D5BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D5BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BD6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BD6#FFFFFF#000000##FFFFFF
##7D5BD61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C73DA
Deuteranopia (green-blind)
#1D6FD3
Tritanopia (blue-blind)
#657690
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5bd6;
/* rgb */ color: rgb(125, 91, 214);
/* oklch */ color: oklch(56.8% 0.181 292.4);
Tailwind
colors: {
  custom: {
    50: '#a88ae3',
    500: '#7d5bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bd6;
$custom-light: #a88ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bd6",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 256.585,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.18093,
    "h": 292.4
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#7D5BD6
secondary
#D1DEAF
accent
#E345B7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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