#7D5FF0#7D5FF0

#7D5FF0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.3% C 0.208 H 287.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D5FF0
RGBrgb(125, 95, 240)
HSLhsl(252, 83%, 66%)
HSVhsv(252, 60%, 94%)
CMYKcmyk(47.9%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.49, 47.16, -69.20)
CIE-LCHlch(50.49, 83.74, 304.28°)
OKLaboklab(59.31% 0.0638 -0.198)
OKLCHoklch(59.31% 0.208 287.8)
XYZxyz(28.2733, 18.8344, 84.5668)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FF0 #D2F05F
analogous
#5F89F0 #7D5FF0 #C55FF0
triadic
#7D5FF0 #F07D5F #5FF07D
tetradic
#7D5FF0 #F05F89 #D2F05F #5FF0C5
square
#7D5FF0 #F05F89 #D2F05F #5FF0C5
split-complementary
#7D5FF0 #F0C55F #89F05F
monochromatic
#3712C2 #5027EB #7D5FF0 #AA97F5 #D8CFFA

Accessibility & contrast

On white

4.41
#7D5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FF0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FF0#FFFFFF#000000##000000
##7D5FF01.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#56819F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5ff0;
/* rgb */ color: rgb(125, 95, 240);
/* oklch */ color: oklch(59.3% 0.208 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab8ef6',
    500: '#7d5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ff0;
$custom-light: #ab8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ff0",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 252.414,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.208,
    "h": 287.8
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#7D5FF0
secondary
#E4EEBD
accent
#DF06B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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