#7C5DEB#7C5DEB

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

Color values

HEX#7C5DEB
RGBrgb(124, 93, 235)
HSLhsl(253, 78%, 64%)
HSVhsv(253, 60%, 92%)
CMYKcmyk(47.2%, 60.4%, 0%, 7.8%)
CIE-LABlab(49.63, 46.68, -67.80)
CIE-LCHlch(49.63, 82.31, 304.55°)
OKLaboklab(58.55% 0.0648 -0.1939)
OKLCHoklch(58.55% 0.204 288.5)
XYZxyz(27.2176, 18.1108, 80.6428)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DEB #CCEB5D
analogous
#5D85EB #7C5DEB #C35DEB
triadic
#7C5DEB #EB7C5D #5DEB7C
tetradic
#7C5DEB #EB5D85 #CCEB5D #5DEBC3
square
#7C5DEB #EB5D85 #CCEB5D #5DEBC3
split-complementary
#7C5DEB #EBC35D #85EB5D
monochromatic
#3A17B7 #5027E4 #7C5DEB #A893F2 #D4CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C5DEB#FFFFFF#000000##000000
##7C5DEB1.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)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#577E9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5deb;
/* rgb */ color: rgb(124, 93, 235);
/* oklch */ color: oklch(58.5% 0.204 288.5);
Tailwind
colors: {
  custom: {
    50: '#aa8cf2',
    500: '#7c5deb',
    950: '#000000',
  },
}
SCSS
$custom: #7c5deb;
$custom-light: #aa8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5deb",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 253.099,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.20446,
    "h": 288.5
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#7C5DEB
secondary
#E0EBB9
accent
#DA0BAD
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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