#7C5FED#7C5FED

#7C5FED is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.204 H 287.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C5FED
RGBrgb(124, 95, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 60%, 93%)
CMYKcmyk(47.7%, 59.9%, 0%, 7.1%)
CIE-LABlab(50.20, 46.12, -68.00)
CIE-LCHlch(50.20, 82.17, 304.14°)
OKLaboklab(59.01% 0.0626 -0.1945)
OKLCHoklch(59.01% 0.204 287.8)
XYZxyz(27.6860, 18.5827, 82.2324)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FED #D0ED5F
analogous
#5F89ED #7C5FED #C35FED
triadic
#7C5FED #ED7C5F #5FED7C
tetradic
#7C5FED #ED5F89 #D0ED5F #5FEDC3
square
#7C5FED #ED5F89 #D0ED5F #5FEDC3
split-complementary
#7C5FED #EDC35F #89ED5F
monochromatic
#3715BC #4F28E7 #7C5FED #A996F3 #D6CDF9

Accessibility & contrast

On white

4.45
#7C5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FED
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FED#FFFFFF#000000##000000
##7C5FED1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#56809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5fed;
/* rgb */ color: rgb(124, 95, 237);
/* oklch */ color: oklch(59.0% 0.204 287.8);
Tailwind
colors: {
  custom: {
    50: '#aa8df4',
    500: '#7c5fed',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fed;
$custom-light: #aa8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fed",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 252.254,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.20434,
    "h": 287.8
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#7C5FED
secondary
#E2ECBC
accent
#DC09B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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