#7D5BF5#7D5BF5

#7D5BF5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.219 H 287.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D5BF5
RGBrgb(125, 91, 245)
HSLhsl(253, 89%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(49%, 62.9%, 0%, 3.9%)
CIE-LABlab(50.02, 50.79, -72.77)
CIE-LCHlch(50.02, 88.74, 304.91°)
OKLaboklab(59.08% 0.0674 -0.2085)
OKLCHoklch(59.08% 0.219 287.9)
XYZxyz(28.6752, 18.4334, 88.4156)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BF5 #D3F55B
analogous
#5B86F5 #7D5BF5 #CA5BF5
triadic
#7D5BF5 #F57D5B #5BF57D
tetradic
#7D5BF5 #F55B86 #D3F55B #5BF5CA
square
#7D5BF5 #F55B86 #D3F55B #5BF5CA
split-complementary
#7D5BF5 #F5CA5B #86F55B
monochromatic
#360CC9 #4F21F1 #7D5BF5 #AB95F9 #D8CEFC

Accessibility & contrast

On white

4.48
#7D5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7D5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BF5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BF5#FFFFFF#000000##000000
##7D5BF51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#5380A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5bf5;
/* rgb */ color: rgb(125, 91, 245);
/* oklch */ color: oklch(59.1% 0.219 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab8bf9',
    500: '#7d5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bf5;
$custom-light: #ab8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bf5",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 253.247,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.21911,
    "h": 287.9
  },
  "luminance": 0.18435
}

Semantic roles & 50–950 ramp

primary
#7D5BF5
secondary
#E4EFBC
accent
#E500B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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