#7C5DEE#7C5DEE

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

Color values

HEX#7C5DEE
RGBrgb(124, 93, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.9%, 60.9%, 0%, 6.7%)
CIE-LABlab(49.84, 47.52, -69.14)
CIE-LCHlch(49.84, 83.90, 304.50°)
OKLaboklab(58.77% 0.0646 -0.1978)
OKLCHoklch(58.77% 0.208 288.1)
XYZxyz(27.6547, 18.2856, 82.9447)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DEE #CFEE5D
analogous
#5D86EE #7C5DEE #C55DEE
triadic
#7C5DEE #EE7C5D #5DEE7C
tetradic
#7C5DEE #EE5D86 #CFEE5D #5DEEC5
square
#7C5DEE #EE5D86 #CFEE5D #5DEEC5
split-complementary
#7C5DEE #EEC55D #86EE5D
monochromatic
#3814BD #4F26E8 #7C5DEE #A994F4 #D6CCFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C5DEE#FFFFFF#000000##000000
##7C5DEE1.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)
#007AF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#557F9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5dee;
/* rgb */ color: rgb(124, 93, 238);
/* oklch */ color: oklch(58.8% 0.208 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa8cf4',
    500: '#7c5dee',
    950: '#000000',
  },
}
SCSS
$custom: #7c5dee;
$custom-light: #aa8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5dee",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 252.828,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.20814,
    "h": 288.1
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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