#A57BF2#A57BF2

#A57BF2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.173 H 297.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A57BF2
RGBrgb(165, 123, 242)
HSLhsl(261, 82%, 72%)
HSVhsv(261, 49%, 95%)
CMYKcmyk(31.8%, 49.2%, 0%, 5.1%)
CIE-LABlab(60.41, 41.01, -54.19)
CIE-LCHlch(60.41, 67.96, 307.12°)
OKLaboklab(67.55% 0.0809 -0.1527)
OKLCHoklch(67.55% 0.173 297.9)
XYZxyz(38.6231, 28.5756, 87.4680)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57BF2 #C8F27B
analogous
#7B8DF2 #A57BF2 #E07BF2
triadic
#A57BF2 #F2A57B #7BF2A5
tetradic
#A57BF2 #F27B8D #C8F27B #7BF2E0
square
#A57BF2 #F27B8D #C8F27B #7BF2E0
split-complementary
#A57BF2 #F2E07B #8DF27B
monochromatic
#5C16DD #7F43ED #A57BF2 #CBB3F7 #ECE3FC

Accessibility & contrast

On white

3.13
#A57BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A57BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57BF2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57BF2#FFFFFF#000000##000000
##A57BF21.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#9592AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57bf2;
/* rgb */ color: rgb(165, 123, 242);
/* oklch */ color: oklch(67.6% 0.173 297.9);
Tailwind
colors: {
  custom: {
    50: '#c3a2f7',
    500: '#a57bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a57bf2;
$custom-light: #c3a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a57bf2",
  "rgb": {
    "r": 165,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 261.176,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67551,
    "c": 0.17282,
    "h": 297.9
  },
  "luminance": 0.28576
}

Semantic roles & 50–950 ramp

primary
#A57BF2
secondary
#E9F4D5
accent
#DE0792
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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