#A57FF2#A57FF2

#A57FF2 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.167 H 297.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A57FF2
RGBrgb(165, 127, 242)
HSLhsl(260, 82%, 72%)
HSVhsv(260, 48%, 95%)
CMYKcmyk(31.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(61.30, 38.78, -52.77)
CIE-LCHlch(61.30, 65.48, 306.31°)
OKLaboklab(68.22% 0.0757 -0.1486)
OKLCHoklch(68.22% 0.167 297)
XYZxyz(39.1295, 29.5884, 87.6368)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57FF2 #CCF27F
analogous
#7F93F2 #A57FF2 #DE7FF2
triadic
#A57FF2 #F2A57F #7FF2A5
tetradic
#A57FF2 #F27F93 #CCF27F #7FF2DE
square
#A57FF2 #F27F93 #CCF27F #7FF2DE
split-complementary
#A57FF2 #F2DE7F #93F27F
monochromatic
#5917E0 #7E47EC #A57FF2 #CCB7F8 #EBE3FC

Accessibility & contrast

On white

3.04
#A57FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A57FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57FF2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57FF2#FFFFFF#000000##000000
##A57FF21.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#9495AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a57ff2;
/* rgb */ color: rgb(165, 127, 242);
/* oklch */ color: oklch(68.2% 0.167 297.0);
Tailwind
colors: {
  custom: {
    50: '#c3a5f7',
    500: '#a57ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a57ff2;
$custom-light: #c3a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a57ff2",
  "rgb": {
    "r": 165,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 259.826,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68218,
    "c": 0.16676,
    "h": 297
  },
  "luminance": 0.29589
}

Semantic roles & 50–950 ramp

primary
#A57FF2
secondary
#EAF4D7
accent
#DE0897
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57FF2

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

Preview Lab → · Contrast checker → · Palette generator →

#A57FF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva