#7C55EC#7C55EC

#7C55EC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.216 H 289.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C55EC
RGBrgb(124, 85, 236)
HSLhsl(255, 80%, 63%)
HSVhsv(255, 64%, 93%)
CMYKcmyk(47.5%, 64%, 0%, 7.5%)
CIE-LABlab(48.05, 51.35, -70.92)
CIE-LCHlch(48.05, 87.56, 305.91°)
OKLaboklab(57.43% 0.0729 -0.2031)
OKLCHoklch(57.43% 0.216 289.7)
XYZxyz(26.6967, 16.8372, 81.1839)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C55EC #C5EC55
analogous
#5579EC #7C55EC #C855EC
triadic
#7C55EC #EC7C55 #55EC7C
tetradic
#7C55EC #EC5579 #C5EC55 #55ECC8
square
#7C55EC #EC5579 #C5EC55 #55ECC8
split-complementary
#7C55EC #ECC855 #79EC55
monochromatic
#3D14B3 #521EE6 #7C55EC #A68CF2 #D1C3F8

Accessibility & contrast

On white

4.81
#7C55EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7C55EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C55EC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C55EC#FFFFFF#000000##FFFFFF
##7C55EC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#577999
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c55ec;
/* rgb */ color: rgb(124, 85, 236);
/* oklch */ color: oklch(57.4% 0.216 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa87f3',
    500: '#7c55ec',
    950: '#000000',
  },
}
SCSS
$custom: #7c55ec;
$custom-light: #aa87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c55ec",
  "rgb": {
    "r": 124,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 255.497,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.21577,
    "h": 289.7
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#7C55EC
secondary
#DCEAB3
accent
#DC09A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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