#7A57CC#7A57CC

#7A57CC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.2% C 0.174 H 293.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7A57CC
RGBrgb(122, 87, 204)
HSLhsl(258, 53%, 57%)
HSVhsv(258, 57%, 80%)
CMYKcmyk(40.2%, 57.4%, 0%, 20%)
CIE-LABlab(46.06, 41.02, -55.95)
CIE-LCHlch(46.06, 69.38, 306.25°)
OKLaboklab(55.22% 0.0699 -0.1592)
OKLCHoklch(55.22% 0.174 293.7)
XYZxyz(22.3304, 15.3131, 58.8942)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57CC #A9CC57
analogous
#576ECC #7A57CC #B557CC
triadic
#7A57CC #CC7A57 #57CC7A
tetradic
#7A57CC #CC576E #A9CC57 #57CCB5
square
#7A57CC #CC576E #A9CC57 #57CCB5
split-complementary
#7A57CC #CCB557 #6ECC57
monochromatic
#422781 #5A36B0 #7A57CC #9F86DA #C4B5E9

Accessibility & contrast

On white

5.17
#7A57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7A57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57CC#FFFFFF#000000##FFFFFF
##7A57CC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ED0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#657089
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a57cc;
/* rgb */ color: rgb(122, 87, 204);
/* oklch */ color: oklch(55.2% 0.174 293.7);
Tailwind
colors: {
  custom: {
    50: '#a588dc',
    500: '#7a57cc',
    950: '#000000',
  },
}
SCSS
$custom: #7a57cc;
$custom-light: #a588dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57cc",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 257.949,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.17383,
    "h": 293.7
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#7A57CC
secondary
#C9D7A8
accent
#DD4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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