#7C5BF7#7C5BF7

#7C5BF7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.222 H 287.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7C5BF7
RGBrgb(124, 91, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 63%, 97%)
CMYKcmyk(49.8%, 63.2%, 0%, 3.1%)
CIE-LABlab(50.07, 51.17, -73.79)
CIE-LCHlch(50.07, 89.80, 304.74°)
OKLaboklab(59.14% 0.0659 -0.2115)
OKLCHoklch(59.14% 0.222 287.3)
XYZxyz(28.8368, 18.4813, 90.0254)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BF7 #D6F75B
analogous
#5B88F7 #7C5BF7 #CA5BF7
triadic
#7C5BF7 #F77C5B #5BF77C
tetradic
#7C5BF7 #F75B88 #D6F75B #5BF7CA
square
#7C5BF7 #F75B88 #D6F75B #5BF7CA
split-complementary
#7C5BF7 #F7CA5B #88F75B
monochromatic
#330ACE #4D21F4 #7C5BF7 #AB95FA #D9D0FD

Accessibility & contrast

On white

4.47
#7C5BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7C5BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BF7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BF7#FFFFFF#000000##000000
##7C5BF71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#4F81A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5bf7;
/* rgb */ color: rgb(124, 91, 247);
/* oklch */ color: oklch(59.1% 0.222 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab8bfb',
    500: '#7c5bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bf7;
$custom-light: #ab8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bf7",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 247
  },
  "hsl": {
    "h": 252.692,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.22157,
    "h": 287.3
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#7C5BF7
secondary
#E6F0BD
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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