#A893FE#A893FE

#A893FE is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.6% C 0.153 H 291.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A893FE
RGBrgb(168, 147, 254)
HSLhsl(252, 98%, 79%)
HSVhsv(252, 42%, 100%)
CMYKcmyk(33.9%, 42.1%, 0%, 0.4%)
CIE-LABlab(66.78, 31.32, -50.65)
CIE-LCHlch(66.78, 59.55, 301.74°)
OKLaboklab(72.61% 0.055 -0.1423)
OKLCHoklch(72.61% 0.153 291.1)
XYZxyz(44.4669, 36.3470, 98.4196)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A893FE #E9FE93
analogous
#93B3FE #A893FE #DD93FE
triadic
#A893FE #FEA893 #93FEA8
tetradic
#A893FE #FE93B3 #E9FE93 #93FEDD
square
#A893FE #FE93B3 #E9FE93 #93FEDD
split-complementary
#A893FE #FEDD93 #B3FE93
monochromatic
#461AFD #7756FD #A893FE #D9D0FF #E7E1FF

Accessibility & contrast

On white

2.54
#A893FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A893FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A893FE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A893FE#FFFFFF#000000##000000
##A893FE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#93A7BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a893fe;
/* rgb */ color: rgb(168, 147, 254);
/* oklch */ color: oklch(72.6% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#c5b3ff',
    500: '#a893fe',
    950: '#000000',
  },
}
SCSS
$custom: #a893fe;
$custom-light: #c5b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a893fe",
  "rgb": {
    "r": 168,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 251.776,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7261,
    "c": 0.15257,
    "h": 291.1
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

primary
#A893FE
secondary
#F0F7D4
accent
#E600B8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A893FE

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

Preview Lab → · Contrast checker → · Palette generator →

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