#7C5FEE#7C5FEE

#7C5FEE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.206 H 287.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7C5FEE
RGBrgb(124, 95, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 60%, 93%)
CMYKcmyk(47.9%, 60.1%, 0%, 6.7%)
CIE-LABlab(50.26, 46.40, -68.45)
CIE-LCHlch(50.26, 82.70, 304.13°)
OKLaboklab(59.08% 0.0626 -0.1958)
OKLCHoklch(59.08% 0.206 287.7)
XYZxyz(27.8325, 18.6413, 83.0040)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FEE #D1EE5F
analogous
#5F89EE #7C5FEE #C45FEE
triadic
#7C5FEE #EE7C5F #5FEE7C
tetradic
#7C5FEE #EE5F89 #D1EE5F #5FEEC4
square
#7C5FEE #EE5F89 #D1EE5F #5FEEC4
split-complementary
#7C5FEE #EEC45F #89EE5F
monochromatic
#3714BE #4F28E8 #7C5FEE #A996F4 #D7CEFA

Accessibility & contrast

On white

4.44
#7C5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7C5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FEE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FEE#FFFFFF#000000##000000
##7C5FEE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#55809E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c5fee;
/* rgb */ color: rgb(124, 95, 238);
/* oklch */ color: oklch(59.1% 0.206 287.7);
Tailwind
colors: {
  custom: {
    50: '#aa8ef4',
    500: '#7c5fee',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fee;
$custom-light: #aa8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fee",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 252.168,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59078,
    "c": 0.20559,
    "h": 287.7
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

primary
#7C5FEE
secondary
#E3ECBC
accent
#DD08B2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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