#7C5BF3#7C5BF3

#7C5BF3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.217 H 287.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7C5BF3
RGBrgb(124, 91, 243)
HSLhsl(253, 86%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(49%, 62.6%, 0%, 4.7%)
CIE-LABlab(49.78, 50.04, -72.03)
CIE-LCHlch(49.78, 87.71, 304.79°)
OKLaboklab(58.84% 0.0663 -0.2064)
OKLCHoklch(58.84% 0.217 287.8)
XYZxyz(28.2262, 18.2371, 86.8095)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BF3 #D2F35B
analogous
#5B86F3 #7C5BF3 #C85BF3
triadic
#7C5BF3 #F37C5B #5BF37C
tetradic
#7C5BF3 #F35B86 #D2F35B #5BF3C8
square
#7C5BF3 #F35B86 #D2F35B #5BF3C8
split-complementary
#7C5BF3 #F3C85B #86F35B
monochromatic
#360EC5 #4E22EF #7C5BF3 #AA94F7 #D7CDFB

Accessibility & contrast

On white

4.52
#7C5BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7C5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BF3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BF3#FFFFFF#000000##000000
##7C5BF31.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#527F9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5bf3;
/* rgb */ color: rgb(124, 91, 243);
/* oklch */ color: oklch(58.8% 0.217 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab8bf8',
    500: '#7c5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bf3;
$custom-light: #ab8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bf3",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 253.026,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.21675,
    "h": 287.8
  },
  "luminance": 0.18238
}

Semantic roles & 50–950 ramp

primary
#7C5BF3
secondary
#E3EEBB
accent
#E303B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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