#A893F9#A893F9

#A893F9 is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.3% C 0.146 H 291.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A893F9
RGBrgb(168, 147, 249)
HSLhsl(252, 89%, 78%)
HSVhsv(252, 41%, 98%)
CMYKcmyk(32.5%, 41%, 0%, 2.4%)
CIE-LABlab(66.54, 30.05, -48.30)
CIE-LCHlch(66.54, 56.88, 301.89°)
OKLaboklab(72.35% 0.0542 -0.1355)
OKLCHoklch(72.35% 0.146 291.8)
XYZxyz(43.6766, 36.0309, 94.2577)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A893F9 #E4F993
analogous
#93B1F9 #A893F9 #DB93F9
triadic
#A893F9 #F9A893 #93F9A8
tetradic
#A893F9 #F993B1 #E4F993 #93F9DB
square
#A893F9 #F993B1 #E4F993 #93F9DB
split-complementary
#A893F9 #F9DB93 #B1F993
monochromatic
#4B1FF3 #7959F6 #A893F9 #D7CDFC #E8E2FD

Accessibility & contrast

On white

2.56
#A893F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A893F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A893F9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A893F9#FFFFFF#000000##000000
##A893F91.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#95A6BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a893f9;
/* rgb */ color: rgb(168, 147, 249);
/* oklch */ color: oklch(72.3% 0.146 291.8);
Tailwind
colors: {
  custom: {
    50: '#c4b3fb',
    500: '#a893f9',
    950: '#000000',
  },
}
SCSS
$custom: #a893f9;
$custom-light: #c4b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a893f9",
  "rgb": {
    "r": 168,
    "g": 147,
    "b": 249
  },
  "hsl": {
    "h": 252.353,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72349,
    "c": 0.1459,
    "h": 291.8
  },
  "luminance": 0.36032
}

Semantic roles & 50–950 ramp

primary
#A893F9
secondary
#EFF5D6
accent
#E600B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A893F9

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

Preview Lab → · Contrast checker → · Palette generator →

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