#7C5CF2#7C5CF2

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

Color values

HEX#7C5CF2
RGBrgb(124, 92, 242)
HSLhsl(253, 85%, 65%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.8%, 62%, 0%, 5.1%)
CIE-LABlab(49.92, 49.21, -71.26)
CIE-LCHlch(49.92, 86.60, 304.63°)
OKLaboklab(58.91% 0.0654 -0.2041)
OKLCHoklch(58.91% 0.214 287.8)
XYZxyz(28.1617, 18.3489, 86.0450)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CF2 #D2F25C
analogous
#5C87F2 #7C5CF2 #C75CF2
triadic
#7C5CF2 #F27C5C #5CF27C
tetradic
#7C5CF2 #F25C87 #D2F25C #5CF2C7
square
#7C5CF2 #F25C87 #D2F25C #5CF2C7
split-complementary
#7C5CF2 #F2C75C #87F25C
monochromatic
#3610C4 #4E23ED #7C5CF2 #AA95F7 #D7CDFB

Accessibility & contrast

On white

4.50
#7C5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7C5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5CF2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CF2#FFFFFF#000000##000000
##7C5CF21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#53809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5cf2;
/* rgb */ color: rgb(124, 92, 242);
/* oklch */ color: oklch(58.9% 0.214 287.8);
Tailwind
colors: {
  custom: {
    50: '#aa8cf7',
    500: '#7c5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cf2;
$custom-light: #aa8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cf2",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 252.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.21429,
    "h": 287.8
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#7C5CF2
secondary
#E3EEBC
accent
#E204B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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