#7C5BF4#7C5BF4

#7C5BF4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.218 H 287.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7C5BF4
RGBrgb(124, 91, 244)
HSLhsl(253, 87%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(49.2%, 62.7%, 0%, 4.3%)
CIE-LABlab(49.86, 50.32, -72.48)
CIE-LCHlch(49.86, 88.23, 304.77°)
OKLaboklab(58.91% 0.0662 -0.2077)
OKLCHoklch(58.91% 0.218 287.7)
XYZxyz(28.3776, 18.2976, 87.6070)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BF4 #D3F45B
analogous
#5B86F4 #7C5BF4 #C85BF4
triadic
#7C5BF4 #F47C5B #5BF47C
tetradic
#7C5BF4 #F45B86 #D3F45B #5BF4C8
square
#7C5BF4 #F45B86 #D3F45B #5BF4C8
split-complementary
#7C5BF4 #F4C85B #86F45B
monochromatic
#350DC7 #4E22F0 #7C5BF4 #AA94F8 #D8CEFC

Accessibility & contrast

On white

4.51
#7C5BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7C5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BF4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BF4#FFFFFF#000000##000000
##7C5BF41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#51809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5bf4;
/* rgb */ color: rgb(124, 91, 244);
/* oklch */ color: oklch(58.9% 0.218 287.7);
Tailwind
colors: {
  custom: {
    50: '#ab8bf9',
    500: '#7c5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bf4;
$custom-light: #ab8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bf4",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 252.941,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.21796,
    "h": 287.7
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#7C5BF4
secondary
#E4EFBC
accent
#E402B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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