#7D5BE5#7D5BE5

#7D5BE5 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.200 H 290.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D5BE5
RGBrgb(125, 91, 229)
HSLhsl(255, 73%, 63%)
HSVhsv(255, 60%, 90%)
CMYKcmyk(45.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(48.88, 46.31, -65.63)
CIE-LCHlch(48.88, 80.32, 305.21°)
OKLaboklab(57.89% 0.0686 -0.1875)
OKLCHoklch(57.89% 0.2 290.1)
XYZxyz(26.3374, 17.4983, 76.1034)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BE5 #C3E55B
analogous
#5B7EE5 #7D5BE5 #C25BE5
triadic
#7D5BE5 #E57D5B #5BE57D
tetradic
#7D5BE5 #E55B7E #C3E55B #5BE5C2
square
#7D5BE5 #E55B7E #C3E55B #5BE5C2
split-complementary
#7D5BE5 #E5C25B #7EE55B
monochromatic
#3E1BAB #5326DD #7D5BE5 #A790ED #D1C5F6

Accessibility & contrast

On white

4.67
#7D5BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BE5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BE5#FFFFFF#000000##FFFFFF
##7D5BE51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#5D7B97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5be5;
/* rgb */ color: rgb(125, 91, 229);
/* oklch */ color: oklch(57.9% 0.200 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa8bee',
    500: '#7d5be5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5be5;
$custom-light: #aa8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5be5",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 254.783,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.19963,
    "h": 290.1
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#7D5BE5
secondary
#DBE7B5
accent
#D511A4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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