#A894F8#A894F8

#A894F8 is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.5% C 0.143 H 291.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A894F8
RGBrgb(168, 148, 248)
HSLhsl(252, 88%, 78%)
HSVhsv(252, 40%, 97%)
CMYKcmyk(32.3%, 40.3%, 0%, 2.7%)
CIE-LABlab(66.73, 29.23, -47.45)
CIE-LCHlch(66.73, 55.73, 301.63°)
OKLaboklab(72.48% 0.0527 -0.133)
OKLCHoklch(72.48% 0.143 291.6)
XYZxyz(43.6773, 36.2810, 93.4905)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A894F8 #E4F894
analogous
#94B2F8 #A894F8 #DA94F8
triadic
#A894F8 #F8A894 #94F8A8
tetradic
#A894F8 #F894B2 #E4F894 #94F8DA
square
#A894F8 #F894B2 #E4F894 #94F8DA
split-complementary
#A894F8 #F8DA94 #B2F894
monochromatic
#4B21F0 #795BF4 #A894F8 #D7CDFC #E8E2FD

Accessibility & contrast

On white

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

On black

8.26
#A894F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A894F8
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A894F8#FFFFFF#000000##000000
##A894F81.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a894f8;
/* rgb */ color: rgb(168, 148, 248);
/* oklch */ color: oklch(72.5% 0.143 291.6);
Tailwind
colors: {
  custom: {
    50: '#c4b3fb',
    500: '#a894f8',
    950: '#000000',
  },
}
SCSS
$custom: #a894f8;
$custom-light: #c4b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a894f8",
  "rgb": {
    "r": 168,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 252,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.14306,
    "h": 291.6
  },
  "luminance": 0.36282
}

Semantic roles & 50–950 ramp

primary
#A894F8
secondary
#EFF5D6
accent
#E401B7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A894F8

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

Preview Lab → · Contrast checker → · Palette generator →

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