#A898FA#A898FA

#A898FA is a light, vivid blue. Relative luminance 0.377; OKLCH L 73.3% C 0.140 H 290.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A898FA
RGBrgb(168, 152, 250)
HSLhsl(250, 91%, 79%)
HSVhsv(250, 39%, 98%)
CMYKcmyk(32.8%, 39.2%, 0%, 2%)
CIE-LABlab(67.79, 27.47, -46.88)
CIE-LCHlch(67.79, 54.34, 300.37°)
OKLaboklab(73.31% 0.0478 -0.1314)
OKLCHoklch(73.31% 0.14 290)
XYZxyz(44.6275, 37.6824, 95.3461)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A898FA #EAFA98
analogous
#98B9FA #A898FA #D998FA
triadic
#A898FA #FAA898 #98FAA8
tetradic
#A898FA #FA98B9 #EAFA98 #98FAD9
square
#A898FA #FA98B9 #EAFA98 #98FAD9
split-complementary
#A898FA #FAD998 #B9FA98
monochromatic
#4523F4 #775EF7 #A898FA #D9D2FD #E6E2FE

Accessibility & contrast

On white

2.46
#A898FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A898FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A898FA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A898FA#FFFFFF#000000##000000
##A898FA1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#94AABD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a898fa;
/* rgb */ color: rgb(168, 152, 250);
/* oklch */ color: oklch(73.3% 0.140 290.0);
Tailwind
colors: {
  custom: {
    50: '#c4b6fc',
    500: '#a898fa',
    950: '#000000',
  },
}
SCSS
$custom: #a898fa;
$custom-light: #c4b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a898fa",
  "rgb": {
    "r": 168,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 249.796,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73308,
    "c": 0.1398,
    "h": 290
  },
  "luminance": 0.37683
}

Semantic roles & 50–950 ramp

primary
#A898FA
secondary
#F0F6D5
accent
#E600C0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A898FA

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

Preview Lab → · Contrast checker → · Palette generator →

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