#7C5BEF#7C5BEF

#7C5BEF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.212 H 288.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C5BEF
RGBrgb(124, 91, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.1%, 61.9%, 0%, 6.3%)
CIE-LABlab(49.49, 48.91, -70.26)
CIE-LCHlch(49.49, 85.61, 304.84°)
OKLaboklab(58.54% 0.0666 -0.2012)
OKLCHoklch(58.54% 0.212 288.3)
XYZxyz(27.6287, 17.9981, 83.6628)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BEF #CEEF5B
analogous
#5B84EF #7C5BEF #C65BEF
triadic
#7C5BEF #EF7C5B #5BEF7C
tetradic
#7C5BEF #EF5B84 #CEEF5B #5BEFC6
square
#7C5BEF #EF5B84 #CEEF5B #5BEFC6
split-complementary
#7C5BEF #EFC65B #84EF5B
monochromatic
#3912BD #4F23EA #7C5BEF #A993F4 #D5CBFA

Accessibility & contrast

On white

4.57
#7C5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7C5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BEF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BEF#FFFFFF#000000##000000
##7C5BEF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#557E9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5bef;
/* rgb */ color: rgb(124, 91, 239);
/* oklch */ color: oklch(58.5% 0.212 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa8bf5',
    500: '#7c5bef',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bef;
$custom-light: #aa8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bef",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 253.378,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.2119,
    "h": 288.3
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#7C5BEF
secondary
#E1ECBA
accent
#DF07AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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