#7D5FF4#7D5FF4

#7D5FF4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.213 H 287.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D5FF4
RGBrgb(125, 95, 244)
HSLhsl(252, 87%, 66%)
HSVhsv(252, 61%, 96%)
CMYKcmyk(48.8%, 61.1%, 0%, 4.3%)
CIE-LABlab(50.77, 48.30, -70.98)
CIE-LCHlch(50.77, 85.85, 304.23°)
OKLaboklab(59.6% 0.0635 -0.2032)
OKLCHoklch(59.6% 0.213 287.4)
XYZxyz(28.8740, 19.0747, 87.7308)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FF4 #D6F45F
analogous
#5F8CF4 #7D5FF4 #C85FF4
triadic
#7D5FF4 #F47D5F #5FF47D
tetradic
#7D5FF4 #F45F8C #D6F45F #5FF4C8
square
#7D5FF4 #F45F8C #D6F45F #5FF4C8
split-complementary
#7D5FF4 #F4C85F #8CF45F
monochromatic
#340ECB #4E26F0 #7D5FF4 #AC98F8 #DAD2FC

Accessibility & contrast

On white

4.36
#7D5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FF4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FF4#FFFFFF#000000##000000
##7D5FF41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#5382A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5ff4;
/* rgb */ color: rgb(125, 95, 244);
/* oklch */ color: oklch(59.6% 0.213 287.4);
Tailwind
colors: {
  custom: {
    50: '#ab8ef9',
    500: '#7d5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ff4;
$custom-light: #ab8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ff4",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 252.081,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59604,
    "c": 0.21292,
    "h": 287.4
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#7D5FF4
secondary
#E6F0BF
accent
#E402B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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