#7C5FE9#7C5FE9

#7C5FE9 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.199 H 288.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7C5FE9
RGBrgb(124, 95, 233)
HSLhsl(253, 76%, 64%)
HSVhsv(253, 59%, 91%)
CMYKcmyk(46.8%, 59.2%, 0%, 8.6%)
CIE-LABlab(49.92, 44.98, -66.20)
CIE-LCHlch(49.92, 80.04, 304.20°)
OKLaboklab(58.72% 0.0628 -0.1892)
OKLCHoklch(58.72% 0.199 288.4)
XYZxyz(27.1081, 18.3516, 79.1889)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FE9 #CCE95F
analogous
#5F87E9 #7C5FE9 #C15FE9
triadic
#7C5FE9 #E97C5F #5FE97C
tetradic
#7C5FE9 #E95F87 #CCE95F #5FE9C1
square
#7C5FE9 #E95F87 #CCE95F #5FE9C1
split-complementary
#7C5FE9 #E9C15F #87E95F
monochromatic
#3A19B5 #5029E2 #7C5FE9 #A895F0 #D4CBF8

Accessibility & contrast

On white

4.50
#7C5FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7C5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FE9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FE9#FFFFFF#000000##000000
##7C5FE91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#587F9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5fe9;
/* rgb */ color: rgb(124, 95, 233);
/* oklch */ color: oklch(58.7% 0.199 288.4);
Tailwind
colors: {
  custom: {
    50: '#a98df1',
    500: '#7c5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fe9;
$custom-light: #a98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fe9",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 252.609,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.19937,
    "h": 288.4
  },
  "luminance": 0.18353
}

Semantic roles & 50–950 ramp

primary
#7C5FE9
secondary
#E0EABA
accent
#D80DAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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