#7C5DFD#7C5DFD

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

Color values

HEX#7C5DFD
RGBrgb(124, 93, 253)
HSLhsl(252, 98%, 68%)
HSVhsv(252, 63%, 99%)
CMYKcmyk(51%, 63.2%, 0%, 0.8%)
CIE-LABlab(50.93, 51.78, -75.75)
CIE-LCHlch(50.93, 91.75, 304.35°)
OKLaboklab(59.9% 0.0634 -0.2173)
OKLCHoklch(59.9% 0.226 286.3)
XYZxyz(29.9509, 19.2041, 95.0381)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DFD #DEFD5D
analogous
#5D8EFD #7C5DFD #CC5DFD
triadic
#7C5DFD #FD7C5D #5DFD7C
tetradic
#7C5DFD #FD5D8E #DEFD5D #5DFDCC
square
#7C5DFD #FD5D8E #DEFD5D #5DFDCC
split-complementary
#7C5DFD #FDCC5D #8EFD5D
monochromatic
#2D03DD #4B21FC #7C5DFD #AD99FE #DED6FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C5DFD#FFFFFF#000000##000000
##7C5DFD1.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)
#007DFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4A84A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5dfd;
/* rgb */ color: rgb(124, 93, 253);
/* oklch */ color: oklch(59.9% 0.226 286.3);
Tailwind
colors: {
  custom: {
    50: '#ac8cff',
    500: '#7c5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7c5dfd;
$custom-light: #ac8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5dfd",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 251.625,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.22635,
    "h": 286.3
  },
  "luminance": 0.19206
}

Semantic roles & 50–950 ramp

primary
#7C5DFD
secondary
#EAF4C2
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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