#A57FFE#A57FFE

#A57FFE is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.182 H 295.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A57FFE
RGBrgb(165, 127, 254)
HSLhsl(258, 98%, 75%)
HSVhsv(258, 50%, 100%)
CMYKcmyk(35%, 50%, 0%, 0.4%)
CIE-LABlab(61.94, 41.81, -58.35)
CIE-LCHlch(61.94, 71.79, 305.62°)
OKLaboklab(68.91% 0.0768 -0.1649)
OKLCHoklch(68.91% 0.182 295)
XYZxyz(40.9912, 30.3331, 97.4419)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57FFE #D8FE7F
analogous
#7F98FE #A57FFE #E57FFE
triadic
#A57FFE #FEA57F #7FFEA5
tetradic
#A57FFE #FE7F98 #D8FE7F #7FFEE5
square
#A57FFE #FE7F98 #D8FE7F #7FFEE5
split-complementary
#A57FFE #FEE57F #98FE7F
monochromatic
#5006FD #7A42FE #A57FFE #D0BCFE #EAE1FF

Accessibility & contrast

On white

2.97
#A57FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A57FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A57FFE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57FFE#FFFFFF#000000##000000
##A57FFE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#9098B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a57ffe;
/* rgb */ color: rgb(165, 127, 254);
/* oklch */ color: oklch(68.9% 0.182 295.0);
Tailwind
colors: {
  custom: {
    50: '#c3a5ff',
    500: '#a57ffe',
    950: '#000000',
  },
}
SCSS
$custom: #a57ffe;
$custom-light: #c3a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a57ffe",
  "rgb": {
    "r": 165,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 257.953,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68907,
    "c": 0.18195,
    "h": 295
  },
  "luminance": 0.30334
}

Semantic roles & 50–950 ramp

primary
#A57FFE
secondary
#EDF7D4
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A57FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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