#7D5BF6#7D5BF6

#7D5BF6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.220 H 287.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D5BF6
RGBrgb(125, 91, 246)
HSLhsl(253, 90%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(49.2%, 63%, 0%, 3.5%)
CIE-LABlab(50.09, 51.07, -73.20)
CIE-LCHlch(50.09, 89.26, 304.90°)
OKLaboklab(59.15% 0.0673 -0.2098)
OKLCHoklch(59.15% 0.22 287.8)
XYZxyz(28.8282, 18.4947, 89.2217)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BF6 #D4F65B
analogous
#5B86F6 #7D5BF6 #CA5BF6
triadic
#7D5BF6 #F67D5B #5BF67D
tetradic
#7D5BF6 #F65B86 #D4F65B #5BF6CA
square
#7D5BF6 #F65B86 #D4F65B #5BF6CA
split-complementary
#7D5BF6 #F6CA5B #86F65B
monochromatic
#350BCB #4F21F3 #7D5BF6 #AB95F9 #D9CFFC

Accessibility & contrast

On white

4.47
#7D5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7D5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BF6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BF6#FFFFFF#000000##000000
##7D5BF61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#5280A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5bf6;
/* rgb */ color: rgb(125, 91, 246);
/* oklch */ color: oklch(59.2% 0.220 287.8);
Tailwind
colors: {
  custom: {
    50: '#ac8bfa',
    500: '#7d5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bf6;
$custom-light: #ac8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bf6",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 253.161,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.22031,
    "h": 287.8
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#7D5BF6
secondary
#E5F0BD
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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