#7C57DE#7C57DE

#7C57DE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.196 H 291.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C57DE
RGBrgb(124, 87, 222)
HSLhsl(256, 67%, 61%)
HSVhsv(256, 61%, 87%)
CMYKcmyk(44.1%, 60.8%, 0%, 12.9%)
CIE-LABlab(47.46, 46.39, -63.97)
CIE-LCHlch(47.46, 79.02, 305.95°)
OKLaboklab(56.68% 0.072 -0.1826)
OKLCHoklch(56.68% 0.196 291.5)
XYZxyz(24.9015, 16.3746, 70.9417)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57DE #B9DE57
analogous
#5776DE #7C57DE #BF57DE
triadic
#7C57DE #DE7C57 #57DE7C
tetradic
#7C57DE #DE5776 #B9DE57 #57DEBF
square
#7C57DE #DE5776 #B9DE57 #57DEBF
split-complementary
#7C57DE #DEBF57 #76DE57
monochromatic
#411F9C #5629CF #7C57DE #A48AE8 #CCBDF2

Accessibility & contrast

On white

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

On black

4.27
#7C57DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C57DE#FFFFFF#000000##FFFFFF
##7C57DE1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#5F7692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c57de;
/* rgb */ color: rgb(124, 87, 222);
/* oklch */ color: oklch(56.7% 0.196 291.5);
Tailwind
colors: {
  custom: {
    50: '#a888e9',
    500: '#7c57de',
    950: '#000000',
  },
}
SCSS
$custom: #7c57de;
$custom-light: #a888e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57de",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 256.444,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.19631,
    "h": 291.5
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#7C57DE
secondary
#D4E2AF
accent
#CF169C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C57DE

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

Preview Lab → · Contrast checker → · Palette generator →

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