#7D5CFD#7D5CFD

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

Color values

HEX#7D5CFD
RGBrgb(125, 92, 253)
HSLhsl(252, 98%, 68%)
HSVhsv(252, 64%, 99%)
CMYKcmyk(50.6%, 63.6%, 0%, 0.8%)
CIE-LABlab(50.81, 52.50, -75.93)
CIE-LCHlch(50.81, 92.31, 304.66°)
OKLaboklab(59.84% 0.0657 -0.2178)
OKLCHoklch(59.84% 0.227 286.8)
XYZxyz(30.0090, 19.1046, 95.0158)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CFD #DCFD5C
analogous
#5C8CFD #7D5CFD #CD5CFD
triadic
#7D5CFD #FD7D5C #5CFD7D
tetradic
#7D5CFD #FD5C8C #DCFD5C #5CFDCD
square
#7D5CFD #FD5C8C #DCFD5C #5CFDCD
split-complementary
#7D5CFD #FDCD5C #8CFD5C
monochromatic
#2F03DC #4D20FC #7D5CFD #AD98FE #DDD5FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5CFD#FFFFFF#000000##000000
##7D5CFD1.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)
#007DFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4D83A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5cfd;
/* rgb */ color: rgb(125, 92, 253);
/* oklch */ color: oklch(59.8% 0.227 286.8);
Tailwind
colors: {
  custom: {
    50: '#ac8cff',
    500: '#7d5cfd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cfd;
$custom-light: #ac8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cfd",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 252.298,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.22748,
    "h": 286.8
  },
  "luminance": 0.19106
}

Semantic roles & 50–950 ramp

primary
#7D5CFD
secondary
#E9F3C1
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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