#7C5FF0#7C5FF0

#7C5FF0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.208 H 287.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7C5FF0
RGBrgb(124, 95, 240)
HSLhsl(252, 83%, 66%)
HSVhsv(252, 60%, 94%)
CMYKcmyk(48.3%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.40, 46.97, -69.35)
CIE-LCHlch(50.40, 83.76, 304.11°)
OKLaboklab(59.22% 0.0625 -0.1985)
OKLCHoklch(59.22% 0.208 287.5)
XYZxyz(28.1280, 18.7595, 84.5600)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FF0 #D3F05F
analogous
#5F8AF0 #7C5FF0 #C45FF0
triadic
#7C5FF0 #F07C5F #5FF07C
tetradic
#7C5FF0 #F05F8A #D3F05F #5FF0C4
square
#7C5FF0 #F05F8A #D3F05F #5FF0C4
split-complementary
#7C5FF0 #F0C45F #8AF05F
monochromatic
#3512C2 #4E27EB #7C5FF0 #AA97F5 #D8CFFA

Accessibility & contrast

On white

4.42
#7C5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7C5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FF0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FF0#FFFFFF#000000##000000
##7C5FF01.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#54819F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c5ff0;
/* rgb */ color: rgb(124, 95, 240);
/* oklch */ color: oklch(59.2% 0.208 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa8ef6',
    500: '#7c5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ff0;
$custom-light: #aa8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ff0",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 252,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.20806,
    "h": 287.5
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#7C5FF0
secondary
#E4EEBD
accent
#DF06B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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