#7C5CFC#7C5CFC

#7C5CFC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.226 H 286.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7C5CFC
RGBrgb(124, 92, 252)
HSLhsl(252, 96%, 67%)
HSVhsv(252, 63%, 99%)
CMYKcmyk(50.8%, 63.5%, 0%, 1.2%)
CIE-LABlab(50.65, 52.04, -75.64)
CIE-LCHlch(50.65, 91.81, 304.53°)
OKLaboklab(59.67% 0.0645 -0.217)
OKLCHoklch(59.67% 0.226 286.6)
XYZxyz(29.7048, 18.9662, 94.1722)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CFC #DCFC5C
analogous
#5C8CFC #7C5CFC #CC5CFC
triadic
#7C5CFC #FC7C5C #5CFC7C
tetradic
#7C5CFC #FC5C8C #DCFC5C #5CFCCC
square
#7C5CFC #FC5C8C #DCFC5C #5CFCCC
split-complementary
#7C5CFC #FCCC5C #8CFC5C
monochromatic
#2F04DA #4C20FB #7C5CFC #AC98FD #DDD4FE

Accessibility & contrast

On white

4.38
#7C5CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7C5CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5CFC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CFC#FFFFFF#000000##000000
##7C5CFC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F9
Tritanopia (blue-blind)
#4B83A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5cfc;
/* rgb */ color: rgb(124, 92, 252);
/* oklch */ color: oklch(59.7% 0.226 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac8cfe',
    500: '#7c5cfc',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cfc;
$custom-light: #ac8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cfc",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 252,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.22636,
    "h": 286.6
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#7C5CFC
secondary
#E9F3C1
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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