#7C5EEB#7C5EEB

#7C5EEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.203 H 288.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7C5EEB
RGBrgb(124, 94, 235)
HSLhsl(253, 78%, 65%)
HSVhsv(253, 60%, 92%)
CMYKcmyk(47.2%, 60%, 0%, 7.8%)
CIE-LABlab(49.84, 46.12, -67.45)
CIE-LCHlch(49.84, 81.71, 304.36°)
OKLaboklab(58.7% 0.0638 -0.1929)
OKLCHoklch(58.7% 0.203 288.3)
XYZxyz(27.3060, 18.2875, 80.6722)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5EEB #CDEB5E
analogous
#5E87EB #7C5EEB #C35EEB
triadic
#7C5EEB #EB7C5E #5EEB7C
tetradic
#7C5EEB #EB5E87 #CDEB5E #5EEBC3
square
#7C5EEB #EB5E87 #CDEB5E #5EEBC3
split-complementary
#7C5EEB #EBC35E #87EB5E
monochromatic
#3917B8 #5028E4 #7C5EEB #A894F2 #D5CBF9

Accessibility & contrast

On white

4.51
#7C5EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7C5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5EEB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5EEB#FFFFFF#000000##000000
##7C5EEB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#577F9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5eeb;
/* rgb */ color: rgb(124, 94, 235);
/* oklch */ color: oklch(58.7% 0.203 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa8df2',
    500: '#7c5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #7c5eeb;
$custom-light: #aa8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5eeb",
  "rgb": {
    "r": 124,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 252.766,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.20316,
    "h": 288.3
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#7C5EEB
secondary
#E0EBBA
accent
#DA0BAE
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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