#A57FFB#A57FFB

#A57FFB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.178 H 295.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A57FFB
RGBrgb(165, 127, 251)
HSLhsl(258, 94%, 74%)
HSVhsv(258, 49%, 98%)
CMYKcmyk(34.3%, 49.4%, 0%, 1.6%)
CIE-LABlab(61.78, 41.05, -56.97)
CIE-LCHlch(61.78, 70.22, 305.78°)
OKLaboklab(68.73% 0.0766 -0.1609)
OKLCHoklch(68.73% 0.178 295.5)
XYZxyz(40.5146, 30.1424, 94.9316)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57FFB #D5FB7F
analogous
#7F97FB #A57FFB #E37FFB
triadic
#A57FFB #FBA57F #7FFBA5
tetradic
#A57FFB #FB7F97 #D5FB7F #7FFBE3
square
#A57FFB #FB7F97 #D5FB7F #7FFBE3
split-complementary
#A57FFB #FBE37F #97FB7F
monochromatic
#5208F7 #7B44F9 #A57FFB #CFBAFD #EAE1FE

Accessibility & contrast

On white

2.99
#A57FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A57FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A57FFB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57FFB#FFFFFF#000000##000000
##A57FFB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#9197B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a57ffb;
/* rgb */ color: rgb(165, 127, 251);
/* oklch */ color: oklch(68.7% 0.178 295.5);
Tailwind
colors: {
  custom: {
    50: '#c3a5fd',
    500: '#a57ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a57ffb;
$custom-light: #c3a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a57ffb",
  "rgb": {
    "r": 165,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 258.387,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68732,
    "c": 0.17818,
    "h": 295.5
  },
  "luminance": 0.30143
}

Semantic roles & 50–950 ramp

primary
#A57FFB
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A57FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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