#7C5EF9#7C5EF9

#7C5EF9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.220 H 286.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7C5EF9
RGBrgb(124, 94, 249)
HSLhsl(252, 93%, 67%)
HSVhsv(252, 62%, 98%)
CMYKcmyk(50.2%, 62.2%, 0%, 2.4%)
CIE-LABlab(50.84, 50.09, -73.67)
CIE-LCHlch(50.84, 89.08, 304.21°)
OKLaboklab(59.74% 0.0628 -0.2112)
OKLCHoklch(59.74% 0.22 286.6)
XYZxyz(29.4087, 19.1286, 91.7468)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5EF9 #DBF95E
analogous
#5E8EF9 #7C5EF9 #CA5EF9
triadic
#7C5EF9 #F97C5E #5EF97C
tetradic
#7C5EF9 #F95E8E #DBF95E #5EF9CA
square
#7C5EF9 #F95E8E #DBF95E #5EF9CA
split-complementary
#7C5EF9 #F9CA5E #8EF95E
monochromatic
#3008D5 #4C23F7 #7C5EF9 #AC99FB #DCD4FD

Accessibility & contrast

On white

4.35
#7C5EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7C5EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5EF9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5EF9#FFFFFF#000000##000000
##7C5EF91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#4D83A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5ef9;
/* rgb */ color: rgb(124, 94, 249);
/* oklch */ color: oklch(59.7% 0.220 286.6);
Tailwind
colors: {
  custom: {
    50: '#ab8dfc',
    500: '#7c5ef9',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ef9;
$custom-light: #ab8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ef9",
  "rgb": {
    "r": 124,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 251.613,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.22031,
    "h": 286.6
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C5EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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