#7C57CA#7C57CA

#7C57CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.171 H 295.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7C57CA
RGBrgb(124, 87, 202)
HSLhsl(259, 52%, 57%)
HSVhsv(259, 57%, 79%)
CMYKcmyk(38.6%, 56.9%, 0%, 20.8%)
CIE-LABlab(46.13, 40.94, -54.68)
CIE-LCHlch(46.13, 68.31, 306.82°)
OKLaboklab(55.28% 0.0725 -0.1553)
OKLCHoklch(55.28% 0.171 295)
XYZxyz(22.3783, 15.3653, 57.6524)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57CA #A5CA57
analogous
#576CCA #7C57CA #B557CA
triadic
#7C57CA #CA7C57 #57CA7C
tetradic
#7C57CA #CA576C #A5CA57 #57CAB5
square
#7C57CA #CA576C #A5CA57 #57CAB5
split-complementary
#7C57CA #CAB557 #6CCA57
monochromatic
#44287F #5D37AD #7C57CA #A086D9 #C5B4E7

Accessibility & contrast

On white

5.16
#7C57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7C57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57CA#FFFFFF#000000##FFFFFF
##7C57CA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#286CC7
Tritanopia (blue-blind)
#696F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c57ca;
/* rgb */ color: rgb(124, 87, 202);
/* oklch */ color: oklch(55.3% 0.171 295.0);
Tailwind
colors: {
  custom: {
    50: '#a688db',
    500: '#7c57ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c57ca;
$custom-light: #a688db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57ca",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 259.304,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.17143,
    "h": 295
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#7C57CA
secondary
#C7D6A7
accent
#DB4CAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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