#7C57CF#7C57CF

#7C57CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.178 H 294.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7C57CF
RGBrgb(124, 87, 207)
HSLhsl(259, 56%, 58%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(40.1%, 58%, 0%, 18.8%)
CIE-LABlab(46.45, 42.29, -57.04)
CIE-LCHlch(46.45, 71.00, 306.56°)
OKLaboklab(55.62% 0.0725 -0.1623)
OKLCHoklch(55.62% 0.178 294.1)
XYZxyz(22.9799, 15.6059, 60.8209)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57CF #AACF57
analogous
#576ECF #7C57CF #B857CF
triadic
#7C57CF #CF7C57 #57CF7C
tetradic
#7C57CF #CF576E #AACF57 #57CFB8
square
#7C57CF #CF576E #AACF57 #57CFB8
split-complementary
#7C57CF #CFB857 #6ECF57
monochromatic
#442685 #5C34B5 #7C57CF #A187DD #C6B6EA

Accessibility & contrast

On white

5.10
#7C57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7C57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57CF#FFFFFF#000000##FFFFFF
##7C57CF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6FD3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#66718B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c57cf;
/* rgb */ color: rgb(124, 87, 207);
/* oklch */ color: oklch(55.6% 0.178 294.1);
Tailwind
colors: {
  custom: {
    50: '#a788de',
    500: '#7c57cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c57cf;
$custom-light: #a788de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57cf",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 258.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.17772,
    "h": 294.1
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#7C57CF
secondary
#CAD9A9
accent
#DF49B1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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