#7C5BF2#7C5BF2

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

Color values

HEX#7C5BF2
RGBrgb(124, 91, 242)
HSLhsl(253, 85%, 65%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.8%, 62.4%, 0%, 5.1%)
CIE-LABlab(49.71, 49.76, -71.59)
CIE-LCHlch(49.71, 87.19, 304.80°)
OKLaboklab(58.76% 0.0664 -0.2051)
OKLCHoklch(58.76% 0.216 287.9)
XYZxyz(28.0756, 18.1768, 86.0163)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BF2 #D1F25B
analogous
#5B85F2 #7C5BF2 #C85BF2
triadic
#7C5BF2 #F27C5B #5BF27C
tetradic
#7C5BF2 #F25B85 #D1F25B #5BF2C8
square
#7C5BF2 #F25B85 #D1F25B #5BF2C8
split-complementary
#7C5BF2 #F2C85B #85F25B
monochromatic
#370FC3 #4F22EE #7C5BF2 #A994F6 #D7CCFB

Accessibility & contrast

On white

4.53
#7C5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7C5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5BF2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BF2#FFFFFF#000000##000000
##7C5BF21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#537F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5bf2;
/* rgb */ color: rgb(124, 91, 242);
/* oklch */ color: oklch(58.8% 0.216 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab8bf7',
    500: '#7c5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bf2;
$custom-light: #ab8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bf2",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 253.113,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.21554,
    "h": 287.9
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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