#AD57FE#AD57FE

#AD57FE is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.0% C 0.238 H 304.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AD57FE
RGBrgb(173, 87, 254)
HSLhsl(271, 99%, 67%)
HSVhsv(271, 66%, 100%)
CMYKcmyk(31.9%, 65.7%, 0%, 0.4%)
CIE-LABlab(54.92, 64.33, -69.58)
CIE-LCHlch(54.92, 94.76, 312.75°)
OKLaboklab(63.96% 0.1333 -0.1976)
OKLCHoklch(63.96% 0.238 304)
XYZxyz(38.5271, 22.8565, 96.1288)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD57FE #A8FE57
analogous
#5A57FE #AD57FE #FE57FC
triadic
#AD57FE #FEAD57 #57FEAD
tetradic
#AD57FE #FE5A57 #A8FE57 #57FCFE
square
#AD57FE #FE5A57 #A8FE57 #57FCFE
split-complementary
#AD57FE #FCFE57 #57FE5A
monochromatic
#7101D9 #8F1AFE #AD57FE #CB94FE #E8D1FF

Accessibility & contrast

On white

3.77
#AD57FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AD57FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD57FE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD57FE#FFFFFF#000000##000000
##AD57FE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#1983FA
Tritanopia (blue-blind)
#9E7CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ad57fe;
/* rgb */ color: rgb(173, 87, 254);
/* oklch */ color: oklch(64.0% 0.238 304.0);
Tailwind
colors: {
  custom: {
    50: '#cb8cff',
    500: '#ad57fe',
    950: '#000000',
  },
}
SCSS
$custom: #ad57fe;
$custom-light: #cb8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad57fe",
  "rgb": {
    "r": 173,
    "g": 87,
    "b": 254
  },
  "hsl": {
    "h": 270.898,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.23836,
    "h": 304
  },
  "luminance": 0.22856
}

Semantic roles & 50–950 ramp

primary
#AD57FE
secondary
#D8F3BE
accent
#E6006F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AD57FE

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

Preview Lab → · Contrast checker → · Palette generator →

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