#7C5DF9#7C5DF9

#7C5DF9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.222 H 286.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7C5DF9
RGBrgb(124, 93, 249)
HSLhsl(252, 93%, 67%)
HSVhsv(252, 63%, 98%)
CMYKcmyk(50.2%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.63, 50.64, -74.00)
CIE-LCHlch(50.63, 89.67, 304.38°)
OKLaboklab(59.59% 0.0638 -0.2121)
OKLCHoklch(59.59% 0.222 286.7)
XYZxyz(29.3204, 18.9519, 91.7173)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DF9 #DAF95D
analogous
#5D8CF9 #7C5DF9 #CA5DF9
triadic
#7C5DF9 #F97C5D #5DF97C
tetradic
#7C5DF9 #F95D8C #DAF95D #5DF9CA
square
#7C5DF9 #F95D8C #DAF95D #5DF9CA
split-complementary
#7C5DF9 #F9CA5D #8CF95D
monochromatic
#3008D4 #4C22F7 #7C5DF9 #AC98FB #DBD3FD

Accessibility & contrast

On white

4.38
#7C5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7C5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5DF9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DF9#FFFFFF#000000##000000
##7C5DF91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#4E83A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5df9;
/* rgb */ color: rgb(124, 93, 249);
/* oklch */ color: oklch(59.6% 0.222 286.7);
Tailwind
colors: {
  custom: {
    50: '#ab8cfc',
    500: '#7c5df9',
    950: '#000000',
  },
}
SCSS
$custom: #7c5df9;
$custom-light: #ab8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5df9",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 251.923,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.22154,
    "h": 286.7
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#7C5DF9
secondary
#E8F2C0
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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