#7C5BEE#7C5BEE

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

Color values

HEX#7C5BEE
RGBrgb(124, 91, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(47.9%, 61.8%, 0%, 6.7%)
CIE-LABlab(49.42, 48.63, -69.82)
CIE-LCHlch(49.42, 85.09, 304.86°)
OKLaboklab(58.46% 0.0667 -0.1999)
OKLCHoklch(58.46% 0.211 288.5)
XYZxyz(27.4814, 17.9391, 82.8869)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BEE #CDEE5B
analogous
#5B84EE #7C5BEE #C55BEE
triadic
#7C5BEE #EE7C5B #5BEE7C
tetradic
#7C5BEE #EE5B84 #CDEE5B #5BEEC5
square
#7C5BEE #EE5B84 #CDEE5B #5BEEC5
split-complementary
#7C5BEE #EEC55B #84EE5B
monochromatic
#3913BB #5024E8 #7C5BEE #A892F4 #D5CAF9

Accessibility & contrast

On white

4.58
#7C5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7C5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BEE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BEE#FFFFFF#000000##000000
##7C5BEE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c5bee;
/* rgb */ color: rgb(124, 91, 238);
/* oklch */ color: oklch(58.5% 0.211 288.5);
Tailwind
colors: {
  custom: {
    50: '#aa8bf4',
    500: '#7c5bee',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bee;
$custom-light: #aa8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bee",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 253.469,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.21069,
    "h": 288.5
  },
  "luminance": 0.1794
}

Semantic roles & 50–950 ramp

primary
#7C5BEE
secondary
#E0ECB9
accent
#DE08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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