#7C5EEE#7C5EEE

#7C5EEE is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.207 H 287.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7C5EEE
RGBrgb(124, 94, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.9%, 60.5%, 0%, 6.7%)
CIE-LABlab(50.05, 46.96, -68.80)
CIE-LCHlch(50.05, 83.30, 304.32°)
OKLaboklab(58.92% 0.0636 -0.1968)
OKLCHoklch(58.92% 0.207 287.9)
XYZxyz(27.7430, 18.4623, 82.9741)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5EEE #D0EE5E
analogous
#5E88EE #7C5EEE #C45EEE
triadic
#7C5EEE #EE7C5E #5EEE7C
tetradic
#7C5EEE #EE5E88 #D0EE5E #5EEEC4
square
#7C5EEE #EE5E88 #D0EE5E #5EEEC4
split-complementary
#7C5EEE #EEC45E #88EE5E
monochromatic
#3714BE #4F27E8 #7C5EEE #A995F4 #D6CDFA

Accessibility & contrast

On white

4.47
#7C5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7C5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5EEE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5EEE#FFFFFF#000000##000000
##7C5EEE1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#55809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5eee;
/* rgb */ color: rgb(124, 94, 238);
/* oklch */ color: oklch(58.9% 0.207 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa8df4',
    500: '#7c5eee',
    950: '#000000',
  },
}
SCSS
$custom: #7c5eee;
$custom-light: #aa8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5eee",
  "rgb": {
    "r": 124,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 252.5,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.20686,
    "h": 287.9
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#7C5EEE
secondary
#E2ECBB
accent
#DD08B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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