#A57FFC#A57FFC

#A57FFC is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.8% C 0.179 H 295.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A57FFC
RGBrgb(165, 127, 252)
HSLhsl(258, 95%, 74%)
HSVhsv(258, 50%, 99%)
CMYKcmyk(34.5%, 49.6%, 0%, 1.2%)
CIE-LABlab(61.83, 41.30, -57.43)
CIE-LCHlch(61.83, 70.74, 305.72°)
OKLaboklab(68.79% 0.0767 -0.1622)
OKLCHoklch(68.79% 0.179 295.3)
XYZxyz(40.6726, 30.2056, 95.7640)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57FFC #D6FC7F
analogous
#7F98FC #A57FFC #E47FFC
triadic
#A57FFC #FCA57F #7FFCA5
tetradic
#A57FFC #FC7F98 #D6FC7F #7FFCE4
square
#A57FFC #FC7F98 #D6FC7F #7FFCE4
split-complementary
#A57FFC #FCE47F #98FC7F
monochromatic
#5107F9 #7B43FB #A57FFC #CFBBFD #EAE1FE

Accessibility & contrast

On white

2.98
#A57FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A57FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A57FFC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57FFC#FFFFFF#000000##000000
##A57FFC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#9198B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a57ffc;
/* rgb */ color: rgb(165, 127, 252);
/* oklch */ color: oklch(68.8% 0.179 295.3);
Tailwind
colors: {
  custom: {
    50: '#c3a5fe',
    500: '#a57ffc',
    950: '#000000',
  },
}
SCSS
$custom: #a57ffc;
$custom-light: #c3a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a57ffc",
  "rgb": {
    "r": 165,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 258.24,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6879,
    "c": 0.17943,
    "h": 295.3
  },
  "luminance": 0.30206
}

Semantic roles & 50–950 ramp

primary
#A57FFC
secondary
#ECF7D4
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A57FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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