#7A57CA#7A57CA

#7A57CA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.171 H 294.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7A57CA
RGBrgb(122, 87, 202)
HSLhsl(258, 52%, 57%)
HSVhsv(258, 57%, 79%)
CMYKcmyk(39.6%, 56.9%, 0%, 20.8%)
CIE-LABlab(45.93, 40.48, -55.01)
CIE-LCHlch(45.93, 68.30, 306.35°)
OKLaboklab(55.09% 0.0699 -0.1564)
OKLCHoklch(55.09% 0.171 294.1)
XYZxyz(22.0921, 15.2177, 57.6390)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57CA #A7CA57
analogous
#576ECA #7A57CA #B457CA
triadic
#7A57CA #CA7A57 #57CA7A
tetradic
#7A57CA #CA576E #A7CA57 #57CAB4
square
#7A57CA #CA576E #A7CA57 #57CAB4
split-complementary
#7A57CA #CAB457 #6ECA57
monochromatic
#42287F #5B37AD #7A57CA #9F86D9 #C4B4E7

Accessibility & contrast

On white

5.19
#7A57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7A57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57CA#FFFFFF#000000##FFFFFF
##7A57CA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#657088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a57ca;
/* rgb */ color: rgb(122, 87, 202);
/* oklch */ color: oklch(55.1% 0.171 294.1);
Tailwind
colors: {
  custom: {
    50: '#a587db',
    500: '#7a57ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a57ca;
$custom-light: #a587db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57ca",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 258.261,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.1713,
    "h": 294.1
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#7A57CA
secondary
#C8D6A7
accent
#DB4CB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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