#A893EF#A893EF

#A893EF is a light, vivid violet. Relative luminance 0.354; OKLCH L 71.8% C 0.132 H 293.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A893EF
RGBrgb(168, 147, 239)
HSLhsl(254, 74%, 76%)
HSVhsv(254, 38%, 94%)
CMYKcmyk(29.7%, 38.5%, 0%, 6.3%)
CIE-LABlab(66.08, 27.54, -43.55)
CIE-LCHlch(66.08, 51.52, 302.30°)
OKLaboklab(71.84% 0.0523 -0.1217)
OKLCHoklch(71.84% 0.132 293.3)
XYZxyz(42.1583, 35.4236, 86.2609)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A893EF #DAEF93
analogous
#93ACEF #A893EF #D693EF
triadic
#A893EF #EFA893 #93EFA8
tetradic
#A893EF #EF93AC #DAEF93 #93EFD6
square
#A893EF #EF93AC #DAEF93 #93EFD6
split-complementary
#A893EF #EFD693 #ACEF93
monochromatic
#5228DF #7D5EE7 #A893EF #D3C8F7 #EAE4FB

Accessibility & contrast

On white

2.60
#A893EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A893EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A893EF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A893EF#FFFFFF#000000##000000
##A893EF1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#98A3B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a893ef;
/* rgb */ color: rgb(168, 147, 239);
/* oklch */ color: oklch(71.8% 0.132 293.3);
Tailwind
colors: {
  custom: {
    50: '#c4b3f4',
    500: '#a893ef',
    950: '#000000',
  },
}
SCSS
$custom: #a893ef;
$custom-light: #c4b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a893ef",
  "rgb": {
    "r": 168,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 253.696,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71842,
    "c": 0.13246,
    "h": 293.3
  },
  "luminance": 0.35424
}

Semantic roles & 50–950 ramp

primary
#A893EF
secondary
#EDF3D8
accent
#D60FA9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A893EF

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

Preview Lab → · Contrast checker → · Palette generator →

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