#7C5CEE#7C5CEE

#7C5CEE is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.209 H 288.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7C5CEE
RGBrgb(124, 92, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.9%, 61.3%, 0%, 6.7%)
CIE-LABlab(49.63, 48.08, -69.48)
CIE-LCHlch(49.63, 84.49, 304.68°)
OKLaboklab(58.61% 0.0657 -0.1989)
OKLCHoklch(58.61% 0.209 288.3)
XYZxyz(27.5675, 18.1112, 82.9156)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CEE #CEEE5C
analogous
#5C85EE #7C5CEE #C55CEE
triadic
#7C5CEE #EE7C5C #5CEE7C
tetradic
#7C5CEE #EE5C85 #CEEE5C #5CEEC5
square
#7C5CEE #EE5C85 #CEEE5C #5CEEC5
split-complementary
#7C5CEE #EEC55C #85EE5C
monochromatic
#3914BC #4F25E8 #7C5CEE #A993F4 #D5CBFA

Accessibility & contrast

On white

4.54
#7C5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7C5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5CEE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CEE#FFFFFF#000000##000000
##7C5CEE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#567E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5cee;
/* rgb */ color: rgb(124, 92, 238);
/* oklch */ color: oklch(58.6% 0.209 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa8cf4',
    500: '#7c5cee',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cee;
$custom-light: #aa8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cee",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 253.151,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.20942,
    "h": 288.3
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#7C5CEE
secondary
#E1ECBA
accent
#DD08AF
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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