#7C5CF0#7C5CF0

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

Color values

HEX#7C5CF0
RGBrgb(124, 92, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.3%, 61.7%, 0%, 5.9%)
CIE-LABlab(49.77, 48.64, -70.37)
CIE-LCHlch(49.77, 85.55, 304.65°)
OKLaboklab(58.76% 0.0655 -0.2015)
OKLCHoklch(58.76% 0.212 288)
XYZxyz(27.8629, 18.2294, 84.4717)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CF0 #D0F05C
analogous
#5C86F0 #7C5CF0 #C65CF0
triadic
#7C5CF0 #F07C5C #5CF07C
tetradic
#7C5CF0 #F05C86 #D0F05C #5CF0C6
square
#7C5CF0 #F05C86 #D0F05C #5CF0C6
split-complementary
#7C5CF0 #F0C65C #86F05C
monochromatic
#3712C0 #4F24EB #7C5CF0 #A994F5 #D6CCFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C5CF0#FFFFFF#000000##000000
##7C5CF01.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)
#007AF5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#547F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5cf0;
/* rgb */ color: rgb(124, 92, 240);
/* oklch */ color: oklch(58.8% 0.212 288.0);
Tailwind
colors: {
  custom: {
    50: '#aa8cf6',
    500: '#7c5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cf0;
$custom-light: #aa8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cf0",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 252.973,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.21187,
    "h": 288
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#7C5CF0
secondary
#E2EDBB
accent
#E006B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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