#A98CE8#A98CE8

#A98CE8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.134 H 297.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A98CE8
RGBrgb(169, 140, 232)
HSLhsl(259, 67%, 73%)
HSVhsv(259, 40%, 91%)
CMYKcmyk(27.2%, 39.7%, 0%, 9%)
CIE-LABlab(64.17, 30.06, -42.67)
CIE-LCHlch(64.17, 52.19, 305.16°)
OKLaboklab(70.31% 0.0616 -0.1191)
OKLCHoklch(70.31% 0.134 297.4)
XYZxyz(40.3023, 33.0170, 80.5779)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CE8 #CBE88C
analogous
#8C9DE8 #A98CE8 #D78CE8
triadic
#A98CE8 #E8A98C #8CE8A9
tetradic
#A98CE8 #E88C9D #CBE88C #8CE8D7
square
#A98CE8 #E88C9D #CBE88C #8CE8D7
split-complementary
#A98CE8 #E8D78C #9DE88C
monochromatic
#5E2AD0 #8359DE #A98CE8 #CFBFF2 #ECE5FA

Accessibility & contrast

On white

2.76
#A98CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A98CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CE8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CE8#FFFFFF#000000##000000
##A98CE81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#789BE6
Tritanopia (blue-blind)
#9C9CAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98ce8;
/* rgb */ color: rgb(169, 140, 232);
/* oklch */ color: oklch(70.3% 0.134 297.4);
Tailwind
colors: {
  custom: {
    50: '#c4aeef',
    500: '#a98ce8',
    950: '#000000',
  },
}
SCSS
$custom: #a98ce8;
$custom-light: #c4aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ce8",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 258.913,
    "s": 66.667,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.13412,
    "h": 297.4
  },
  "luminance": 0.33017
}

Semantic roles & 50–950 ramp

primary
#A98CE8
secondary
#EAF1DA
accent
#CF1795
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A98CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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