#7C5FFE#7C5FFE

#7C5FFE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.225 H 285.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7C5FFE
RGBrgb(124, 95, 254)
HSLhsl(251, 99%, 68%)
HSVhsv(251, 63%, 100%)
CMYKcmyk(51.2%, 62.6%, 0%, 0.4%)
CIE-LABlab(51.41, 50.96, -75.52)
CIE-LCHlch(51.41, 91.10, 304.01°)
OKLaboklab(60.27% 0.0615 -0.2166)
OKLCHoklch(60.27% 0.225 285.8)
XYZxyz(30.2885, 19.6237, 95.9385)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FFE #E1FE5F
analogous
#5F91FE #7C5FFE #CB5FFE
triadic
#7C5FFE #FE7C5F #5FFE7C
tetradic
#7C5FFE #FE5F91 #E1FE5F #5FFECB
square
#7C5FFE #FE5F91 #E1FE5F #5FFECB
split-complementary
#7C5FFE #FECB5F #91FE5F
monochromatic
#2A01E1 #4A22FE #7C5FFE #AE9CFE #E0D9FF

Accessibility & contrast

On white

4.26
#7C5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7C5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FFE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FFE#FFFFFF#000000##000000
##7C5FFE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#4986A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c5ffe;
/* rgb */ color: rgb(124, 95, 254);
/* oklch */ color: oklch(60.3% 0.225 285.8);
Tailwind
colors: {
  custom: {
    50: '#ac8eff',
    500: '#7c5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ffe;
$custom-light: #ac8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ffe",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 250.943,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.22515,
    "h": 285.8
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#7C5FFE
secondary
#ECF4C4
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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