#A893F7#A893F7

#A893F7 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.2% C 0.143 H 292.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A893F7
RGBrgb(168, 147, 247)
HSLhsl(253, 86%, 77%)
HSVhsv(253, 40%, 97%)
CMYKcmyk(32%, 40.5%, 0%, 3.1%)
CIE-LABlab(66.45, 29.54, -47.35)
CIE-LCHlch(66.45, 55.81, 301.96°)
OKLaboklab(72.25% 0.0538 -0.1327)
OKLCHoklch(72.25% 0.143 292.1)
XYZxyz(43.3664, 35.9068, 92.6236)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A893F7 #E2F793
analogous
#93B0F7 #A893F7 #DA93F7
triadic
#A893F7 #F7A893 #93F7A8
tetradic
#A893F7 #F793B0 #E2F793 #93F7DA
square
#A893F7 #F793B0 #E2F793 #93F7DA
split-complementary
#A893F7 #F7DA93 #B0F793
monochromatic
#4C21EF #7A5AF3 #A893F7 #D6CCFB #E8E3FD

Accessibility & contrast

On white

2.57
#A893F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A893F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A893F7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A893F7#FFFFFF#000000##000000
##A893F71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#96A5B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a893f7;
/* rgb */ color: rgb(168, 147, 247);
/* oklch */ color: oklch(72.2% 0.143 292.1);
Tailwind
colors: {
  custom: {
    50: '#c4b3fa',
    500: '#a893f7',
    950: '#000000',
  },
}
SCSS
$custom: #a893f7;
$custom-light: #c4b3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a893f7",
  "rgb": {
    "r": 168,
    "g": 147,
    "b": 247
  },
  "hsl": {
    "h": 252.6,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72246,
    "c": 0.14323,
    "h": 292.1
  },
  "luminance": 0.35908
}

Semantic roles & 50–950 ramp

primary
#A893F7
secondary
#EEF5D6
accent
#E303B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A893F7

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

Preview Lab → · Contrast checker → · Palette generator →

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