#7A57CD#7A57CD

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

Color values

HEX#7A57CD
RGBrgb(122, 87, 205)
HSLhsl(258, 54%, 57%)
HSVhsv(258, 58%, 80%)
CMYKcmyk(40.5%, 57.6%, 0%, 19.6%)
CIE-LABlab(46.13, 41.30, -56.43)
CIE-LCHlch(46.13, 69.92, 306.20°)
OKLaboklab(55.29% 0.0699 -0.1605)
OKLCHoklch(55.29% 0.175 293.5)
XYZxyz(22.4507, 15.3612, 59.5279)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57CD #AACD57
analogous
#576FCD #7A57CD #B557CD
triadic
#7A57CD #CD7A57 #57CD7A
tetradic
#7A57CD #CD576F #AACD57 #57CDB5
square
#7A57CD #CD576F #AACD57 #57CDB5
split-complementary
#7A57CD #CDB557 #6FCD57
monochromatic
#422783 #5A35B2 #7A57CD #9F86DB #C5B5E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A57CD#FFFFFF#000000##FFFFFF
##7A57CD1.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)
#0F6FD1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#64708A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a57cd;
/* rgb */ color: rgb(122, 87, 205);
/* oklch */ color: oklch(55.3% 0.175 293.5);
Tailwind
colors: {
  custom: {
    50: '#a588dd',
    500: '#7a57cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a57cd;
$custom-light: #a588dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57cd",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 257.797,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.17509,
    "h": 293.5
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#7A57CD
secondary
#CAD8A8
accent
#DD4AB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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