#7D5BF0#7D5BF0

#7D5BF0 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.213 H 288.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D5BF0
RGBrgb(125, 91, 240)
HSLhsl(254, 83%, 65%)
HSVhsv(254, 62%, 94%)
CMYKcmyk(47.9%, 62.1%, 0%, 5.9%)
CIE-LABlab(49.66, 49.38, -70.56)
CIE-LCHlch(49.66, 86.12, 304.99°)
OKLaboklab(58.7% 0.0678 -0.202)
OKLCHoklch(58.7% 0.213 288.6)
XYZxyz(27.9222, 18.1322, 84.4498)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BF0 #CEF05B
analogous
#5B84F0 #7D5BF0 #C75BF0
triadic
#7D5BF0 #F07D5B #5BF07D
tetradic
#7D5BF0 #F05B84 #CEF05B #5BF0C7
square
#7D5BF0 #F05B84 #CEF05B #5BF0C7
split-complementary
#7D5BF0 #F0C75B #84F05B
monochromatic
#3911BF #5123EB #7D5BF0 #A993F5 #D6CBFA

Accessibility & contrast

On white

4.54
#7D5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BF0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BF0#FFFFFF#000000##000000
##7D5BF01.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#567E9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5bf0;
/* rgb */ color: rgb(125, 91, 240);
/* oklch */ color: oklch(58.7% 0.213 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab8bf6',
    500: '#7d5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bf0;
$custom-light: #ab8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bf0",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 253.691,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.587,
    "c": 0.21307,
    "h": 288.6
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#7D5BF0
secondary
#E1EDBA
accent
#E006AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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