#7A57B4#7A57B4

#7A57B4 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.7% C 0.143 H 298.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7A57B4
RGBrgb(122, 87, 180)
HSLhsl(263, 38%, 52%)
HSVhsv(263, 52%, 71%)
CMYKcmyk(32.2%, 51.7%, 0%, 29.4%)
CIE-LABlab(44.59, 34.60, -44.39)
CIE-LCHlch(44.59, 56.28, 307.94°)
OKLaboklab(53.66% 0.0691 -0.1252)
OKLCHoklch(53.66% 0.143 298.9)
XYZxyz(19.6705, 14.2491, 44.8852)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57B4 #91B457
analogous
#5762B4 #7A57B4 #A957B4
triadic
#7A57B4 #B47A57 #57B47A
tetradic
#7A57B4 #B45762 #91B457 #57B4A9
square
#7A57B4 #B45762 #91B457 #57B4A9
split-complementary
#7A57B4 #B4A957 #62B457
monochromatic
#412D64 #5D408E #7A57B4 #9B81C7 #BDACDA

Accessibility & contrast

On white

5.45
#7A57B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A57B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57B4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57B4#FFFFFF#000000##FFFFFF
##7A57B41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B7
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#6E697D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a57b4;
/* rgb */ color: rgb(122, 87, 180);
/* oklch */ color: oklch(53.7% 0.143 298.9);
Tailwind
colors: {
  custom: {
    50: '#a387cb',
    500: '#7a57b4',
    950: '#000000',
  },
}
SCSS
$custom: #7a57b4;
$custom-light: #a387cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57b4",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 262.581,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.14298,
    "h": 298.9
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#7A57B4
secondary
#B8C89F
accent
#CE5AA2
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7A57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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