#7C5BF6#7C5BF6

#7C5BF6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.220 H 287.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7C5BF6
RGBrgb(124, 91, 246)
HSLhsl(253, 90%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(49.6%, 63%, 0%, 3.5%)
CIE-LABlab(50.00, 50.89, -73.35)
CIE-LCHlch(50.00, 89.28, 304.75°)
OKLaboklab(59.07% 0.066 -0.2102)
OKLCHoklch(59.07% 0.22 287.4)
XYZxyz(28.6829, 18.4197, 89.2149)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BF6 #D5F65B
analogous
#5B87F6 #7C5BF6 #C95BF6
triadic
#7C5BF6 #F67C5B #5BF67C
tetradic
#7C5BF6 #F65B87 #D5F65B #5BF6C9
square
#7C5BF6 #F65B87 #D5F65B #5BF6C9
split-complementary
#7C5BF6 #F6C95B #87F65B
monochromatic
#340BCB #4E21F3 #7C5BF6 #AA95F9 #D9CFFC

Accessibility & contrast

On white

4.48
#7C5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7C5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BF6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BF6#FFFFFF#000000##000000
##7C5BF61.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#5080A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5bf6;
/* rgb */ color: rgb(124, 91, 246);
/* oklch */ color: oklch(59.1% 0.220 287.4);
Tailwind
colors: {
  custom: {
    50: '#ab8bfa',
    500: '#7c5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bf6;
$custom-light: #ab8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bf6",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 252.774,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.22037,
    "h": 287.4
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#7C5BF6
secondary
#E5F0BD
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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