#7C5FEF#7C5FEF

#7C5FEF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.207 H 287.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7C5FEF
RGBrgb(124, 95, 239)
HSLhsl(252, 82%, 65%)
HSVhsv(252, 60%, 94%)
CMYKcmyk(48.1%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.33, 46.69, -68.90)
CIE-LCHlch(50.33, 83.23, 304.12°)
OKLaboklab(59.15% 0.0625 -0.1971)
OKLCHoklch(59.15% 0.207 287.6)
XYZxyz(27.9798, 18.7003, 83.7798)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FEF #D2EF5F
analogous
#5F8AEF #7C5FEF #C45FEF
triadic
#7C5FEF #EF7C5F #5FEF7C
tetradic
#7C5FEF #EF5F8A #D2EF5F #5FEFC4
square
#7C5FEF #EF5F8A #D2EF5F #5FEFC4
split-complementary
#7C5FEF #EFC45F #8AEF5F
monochromatic
#3613C0 #4E27E9 #7C5FEF #AA97F5 #D7CEFA

Accessibility & contrast

On white

4.43
#7C5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7C5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FEF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FEF#FFFFFF#000000##000000
##7C5FEF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#55819E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c5fef;
/* rgb */ color: rgb(124, 95, 239);
/* oklch */ color: oklch(59.2% 0.207 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa8ef5',
    500: '#7c5fef',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fef;
$custom-light: #aa8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fef",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 252.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.20682,
    "h": 287.6
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#7C5FEF
secondary
#E3EDBD
accent
#DE07B3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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