#7D5DF0#7D5DF0

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

Color values

HEX#7D5DF0
RGBrgb(125, 93, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 61%, 94%)
CMYKcmyk(47.9%, 61.2%, 0%, 5.9%)
CIE-LABlab(50.07, 48.28, -69.88)
CIE-LCHlch(50.07, 84.94, 304.64°)
OKLaboklab(59% 0.0658 -0.2)
OKLCHoklch(59% 0.211 288.2)
XYZxyz(28.0954, 18.4787, 84.5076)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DF0 #D0F05D
analogous
#5D87F0 #7D5DF0 #C65DF0
triadic
#7D5DF0 #F07D5D #5DF07D
tetradic
#7D5DF0 #F05D87 #D0F05D #5DF0C6
square
#7D5DF0 #F05D87 #D0F05D #5DF0C6
split-complementary
#7D5DF0 #F0C65D #87F05D
monochromatic
#3812C1 #5025EB #7D5DF0 #AA95F5 #D7CDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5DF0#FFFFFF#000000##000000
##7D5DF01.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)
#007AF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#56809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5df0;
/* rgb */ color: rgb(125, 93, 240);
/* oklch */ color: oklch(59.0% 0.211 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab8cf6',
    500: '#7d5df0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5df0;
$custom-light: #ab8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5df0",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 253.061,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59003,
    "c": 0.21056,
    "h": 288.2
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#7D5DF0
secondary
#E2EDBC
accent
#DF06B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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