#A98CEF#A98CEF

#A98CEF is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.7% C 0.143 H 296.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A98CEF
RGBrgb(169, 140, 239)
HSLhsl(258, 76%, 74%)
HSVhsv(258, 41%, 94%)
CMYKcmyk(29.3%, 41.4%, 0%, 6.3%)
CIE-LABlab(64.50, 31.77, -46.02)
CIE-LCHlch(64.50, 55.92, 304.62°)
OKLaboklab(70.67% 0.0629 -0.1288)
OKLCHoklch(70.67% 0.143 296)
XYZxyz(41.3165, 33.4227, 85.9191)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CEF #D2EF8C
analogous
#8CA1EF #A98CEF #DB8CEF
triadic
#A98CEF #EFA98C #8CEFA9
tetradic
#A98CEF #EF8CA1 #D2EF8C #8CEFDB
square
#A98CEF #EF8CA1 #D2EF8C #8CEFDB
split-complementary
#A98CEF #EFDB8C #A1EF8C
monochromatic
#5921E0 #8156E8 #A98CEF #D1C2F6 #EBE4FB

Accessibility & contrast

On white

2.73
#A98CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A98CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CEF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CEF#FFFFFF#000000##000000
##A98CEF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#749BED
Tritanopia (blue-blind)
#9A9EB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98cef;
/* rgb */ color: rgb(169, 140, 239);
/* oklch */ color: oklch(70.7% 0.143 296.0);
Tailwind
colors: {
  custom: {
    50: '#c5aef4',
    500: '#a98cef',
    950: '#000000',
  },
}
SCSS
$custom: #a98cef;
$custom-light: #c5aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cef",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 257.576,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70667,
    "c": 0.14336,
    "h": 296
  },
  "luminance": 0.33423
}

Semantic roles & 50–950 ramp

primary
#A98CEF
secondary
#EBF3D8
accent
#D80E9D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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