#7C57CC#7C57CC

#7C57CC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.174 H 294.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7C57CC
RGBrgb(124, 87, 204)
HSLhsl(259, 53%, 57%)
HSVhsv(259, 57%, 80%)
CMYKcmyk(39.2%, 57.4%, 0%, 20%)
CIE-LABlab(46.26, 41.48, -55.62)
CIE-LCHlch(46.26, 69.39, 306.71°)
OKLaboklab(55.42% 0.0725 -0.1581)
OKLCHoklch(55.42% 0.174 294.6)
XYZxyz(22.6166, 15.4606, 58.9076)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57CC #A7CC57
analogous
#576DCC #7C57CC #B657CC
triadic
#7C57CC #CC7C57 #57CC7C
tetradic
#7C57CC #CC576D #A7CC57 #57CCB6
square
#7C57CC #CC576D #A7CC57 #57CCB6
split-complementary
#7C57CC #CCB657 #6DCC57
monochromatic
#442781 #5C36B0 #7C57CC #A186DA #C5B5E9

Accessibility & contrast

On white

5.13
#7C57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7C57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57CC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57CC#FFFFFF#000000##FFFFFF
##7C57CC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#256CC9
Tritanopia (blue-blind)
#687089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c57cc;
/* rgb */ color: rgb(124, 87, 204);
/* oklch */ color: oklch(55.4% 0.174 294.6);
Tailwind
colors: {
  custom: {
    50: '#a788dc',
    500: '#7c57cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c57cc;
$custom-light: #a788dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57cc",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 258.974,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.17396,
    "h": 294.6
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#7C57CC
secondary
#C8D7A8
accent
#DD4BAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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