#7D5FF6#7D5FF6

#7D5FF6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.215 H 287.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D5FF6
RGBrgb(125, 95, 246)
HSLhsl(252, 89%, 67%)
HSVhsv(252, 61%, 96%)
CMYKcmyk(49.2%, 61.4%, 0%, 3.5%)
CIE-LABlab(50.92, 48.86, -71.86)
CIE-LCHlch(50.92, 86.90, 304.21°)
OKLaboklab(59.75% 0.0634 -0.2058)
OKLCHoklch(59.75% 0.215 287.1)
XYZxyz(29.1793, 19.1969, 89.3388)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FF6 #D8F65F
analogous
#5F8CF6 #7D5FF6 #C95FF6
triadic
#7D5FF6 #F67D5F #5FF67D
tetradic
#7D5FF6 #F65F8C #D8F65F #5FF6C9
square
#7D5FF6 #F65F8C #D8F65F #5FF6C9
split-complementary
#7D5FF6 #F6C95F #8CF65F
monochromatic
#320CCF #4E25F3 #7D5FF6 #AC99F9 #DBD3FD

Accessibility & contrast

On white

4.34
#7D5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7D5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FF6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FF6#FFFFFF#000000##000000
##7D5FF61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5283A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5ff6;
/* rgb */ color: rgb(125, 95, 246);
/* oklch */ color: oklch(59.8% 0.215 287.1);
Tailwind
colors: {
  custom: {
    50: '#ab8efa',
    500: '#7d5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ff6;
$custom-light: #ab8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ff6",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 251.921,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.21536,
    "h": 287.1
  },
  "luminance": 0.19198
}

Semantic roles & 50–950 ramp

primary
#7D5FF6
secondary
#E7F1C0
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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