#7A57EF#7A57EF

#7A57EF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.217 H 288.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A57EF
RGBrgb(122, 87, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 64%, 94%)
CMYKcmyk(49%, 63.6%, 0%, 6.3%)
CIE-LABlab(48.49, 50.74, -71.90)
CIE-LCHlch(48.49, 88.00, 305.21°)
OKLaboklab(57.77% 0.068 -0.206)
OKLCHoklch(57.77% 0.217 288.3)
XYZxyz(27.0097, 17.1848, 83.5384)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57EF #CCEF57
analogous
#5780EF #7A57EF #C657EF
triadic
#7A57EF #EF7A57 #57EF7A
tetradic
#7A57EF #EF5780 #CCEF57 #57EFC6
square
#7A57EF #EF5780 #CCEF57 #57EFC6
split-complementary
#7A57EF #EFC657 #80EF57
monochromatic
#3812BA #4E1FEA #7A57EF #A68FF4 #D2C7FA

Accessibility & contrast

On white

4.73
#7A57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7A57EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57EF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57EF#FFFFFF#000000##FFFFFF
##7A57EF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#517C9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a57ef;
/* rgb */ color: rgb(122, 87, 239);
/* oklch */ color: oklch(57.8% 0.217 288.3);
Tailwind
colors: {
  custom: {
    50: '#a988f5',
    500: '#7a57ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a57ef;
$custom-light: #a988f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57ef",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 253.816,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.21696,
    "h": 288.3
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

primary
#7A57EF
secondary
#DFECB6
accent
#DF06AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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