#7C55E4#7C55E4

#7C55E4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.8% C 0.206 H 290.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C55E4
RGBrgb(124, 85, 228)
HSLhsl(256, 73%, 61%)
HSVhsv(256, 63%, 89%)
CMYKcmyk(45.6%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.47, 49.15, -67.35)
CIE-LCHlch(47.47, 83.38, 306.12°)
OKLaboklab(56.82% 0.0736 -0.1926)
OKLCHoklch(56.82% 0.206 290.9)
XYZxyz(25.5603, 16.3826, 75.1992)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C55E4 #BDE455
analogous
#5576E4 #7C55E4 #C455E4
triadic
#7C55E4 #E47C55 #55E47C
tetradic
#7C55E4 #E45576 #BDE455 #55E4C4
square
#7C55E4 #E45576 #BDE455 #55E4C4
split-complementary
#7C55E4 #E4C455 #76E455
monochromatic
#401AA4 #5423D9 #7C55E4 #A58AEC #CDBFF5

Accessibility & contrast

On white

4.91
#7C55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7C55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C55E4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C55E4#FFFFFF#000000##FFFFFF
##7C55E41.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#5C7795
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c55e4;
/* rgb */ color: rgb(124, 85, 228);
/* oklch */ color: oklch(56.8% 0.206 290.9);
Tailwind
colors: {
  custom: {
    50: '#a987ed',
    500: '#7c55e4',
    950: '#000000',
  },
}
SCSS
$custom: #7c55e4;
$custom-light: #a987ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c55e4",
  "rgb": {
    "r": 124,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 256.364,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.2062,
    "h": 290.9
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#7C55E4
secondary
#D7E5B0
accent
#D5119F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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