#A893EC#A893EC

#A893EC is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.7% C 0.128 H 293.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A893EC
RGBrgb(168, 147, 236)
HSLhsl(254, 70%, 75%)
HSVhsv(254, 38%, 93%)
CMYKcmyk(28.8%, 37.7%, 0%, 7.5%)
CIE-LABlab(65.94, 26.79, -42.11)
CIE-LCHlch(65.94, 49.91, 302.46°)
OKLaboklab(71.69% 0.0517 -0.1175)
OKLCHoklch(71.69% 0.128 293.8)
XYZxyz(41.7188, 35.2478, 83.9461)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A893EC #D7EC93
analogous
#93ABEC #A893EC #D493EC
triadic
#A893EC #ECA893 #93ECA8
tetradic
#A893EC #EC93AB #D7EC93 #93ECD4
square
#A893EC #EC93AB #D7EC93 #93ECD4
split-complementary
#A893EC #ECD493 #ABEC93
monochromatic
#542BDA #7E5FE3 #A893EC #D2C7F5 #EAE5FA

Accessibility & contrast

On white

2.61
#A893EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A893EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A893EC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A893EC#FFFFFF#000000##000000
##A893EC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#99A3B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a893ec;
/* rgb */ color: rgb(168, 147, 236);
/* oklch */ color: oklch(71.7% 0.128 293.8);
Tailwind
colors: {
  custom: {
    50: '#c4b3f2',
    500: '#a893ec',
    950: '#000000',
  },
}
SCSS
$custom: #a893ec;
$custom-light: #c4b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a893ec",
  "rgb": {
    "r": 168,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 254.157,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.12841,
    "h": 293.8
  },
  "luminance": 0.35248
}

Semantic roles & 50–950 ramp

primary
#A893EC
secondary
#ECF2D9
accent
#D213A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A893EC

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

Preview Lab → · Contrast checker → · Palette generator →

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