#A98DEC#A98DEC

#A98DEC is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.7% C 0.138 H 296.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A98DEC
RGBrgb(169, 141, 236)
HSLhsl(258, 71%, 74%)
HSVhsv(258, 40%, 93%)
CMYKcmyk(28.4%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.60, 30.47, -44.22)
CIE-LCHlch(64.60, 53.70, 304.57°)
OKLaboklab(70.69% 0.061 -0.1236)
OKLCHoklch(70.69% 0.138 296.3)
XYZxyz(41.0237, 33.5404, 83.6532)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DEC #D0EC8D
analogous
#8DA1EC #A98DEC #D98DEC
triadic
#A98DEC #ECA98D #8DECA9
tetradic
#A98DEC #EC8DA1 #D0EC8D #8DECD9
square
#A98DEC #EC8DA1 #D0EC8D #8DECD9
split-complementary
#A98DEC #ECD98D #A1EC8D
monochromatic
#5A24DA #8159E3 #A98DEC #D1C1F5 #EBE5FB

Accessibility & contrast

On white

2.72
#A98DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A98DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DEC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DEC#FFFFFF#000000##000000
##A98DEC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#779BEA
Tritanopia (blue-blind)
#9B9EB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98dec;
/* rgb */ color: rgb(169, 141, 236);
/* oklch */ color: oklch(70.7% 0.138 296.3);
Tailwind
colors: {
  custom: {
    50: '#c4aef2',
    500: '#a98dec',
    950: '#000000',
  },
}
SCSS
$custom: #a98dec;
$custom-light: #c4aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a98dec",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 257.684,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.13784,
    "h": 296.3
  },
  "luminance": 0.33541
}

Semantic roles & 50–950 ramp

primary
#A98DEC
secondary
#EBF2D9
accent
#D3129A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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