#7D5BB0#7D5BB0

#7D5BB0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.4% C 0.132 H 300.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D5BB0
RGBrgb(125, 91, 176)
HSLhsl(264, 35%, 52%)
HSVhsv(264, 48%, 69%)
CMYKcmyk(29%, 48.3%, 0%, 31%)
CIE-LABlab(45.60, 32.03, -40.41)
CIE-LCHlch(45.60, 51.57, 308.40°)
OKLaboklab(54.42% 0.067 -0.1135)
OKLCHoklch(54.42% 0.132 300.6)
XYZxyz(20.0332, 14.9766, 42.9012)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BB0 #8EB05B
analogous
#5B64B0 #7D5BB0 #A75BB0
triadic
#7D5BB0 #B07D5B #5BB07D
tetradic
#7D5BB0 #B05B64 #8EB05B #5BB0A7
square
#7D5BB0 #B05B64 #8EB05B #5BB0A7
split-complementary
#7D5BB0 #B0A75B #64B05B
monochromatic
#432F62 #60438B #7D5BB0 #9E84C4 #BEAED8

Accessibility & contrast

On white

5.26
#7D5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7D5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BB0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BB0#FFFFFF#000000##FFFFFF
##7D5BB01.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#736A7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d5bb0;
/* rgb */ color: rgb(125, 91, 176);
/* oklch */ color: oklch(54.4% 0.132 300.6);
Tailwind
colors: {
  custom: {
    50: '#a58ac8',
    500: '#7d5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bb0;
$custom-light: #a58ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bb0",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 264,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.13181,
    "h": 300.6
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#7D5BB0
secondary
#B7C6A1
accent
#CB5D9F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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