#A98ECD#A98ECD

#A98ECD is a light, moderate violet. Relative luminance 0.322; OKLCH L 69.4% C 0.095 H 303.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A98ECD
RGBrgb(169, 142, 205)
HSLhsl(266, 39%, 68%)
HSVhsv(266, 31%, 80%)
CMYKcmyk(17.6%, 30.7%, 0%, 19.6%)
CIE-LABlab(63.50, 22.59, -28.71)
CIE-LCHlch(63.50, 36.53, 308.19°)
OKLaboklab(69.42% 0.0526 -0.079)
OKLCHoklch(69.42% 0.095 303.7)
XYZxyz(37.0524, 32.1889, 62.0068)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98ECD #B2CD8E
analogous
#8E92CD #A98ECD #C88ECD
triadic
#A98ECD #CDA98E #8ECDA9
tetradic
#A98ECD #CD8E92 #B2CD8E #8ECDC8
square
#A98ECD #CD8E92 #B2CD8E #8ECDC8
split-complementary
#A98ECD #CDC88E #92CD8E
monochromatic
#6A459C #8964BA #A98ECD #C9B8E0 #EAE3F3

Accessibility & contrast

On white

2.82
#A98ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A98ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98ECD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98ECD#FFFFFF#000000##000000
##A98ECD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D0
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#A397A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a98ecd;
/* rgb */ color: rgb(169, 142, 205);
/* oklch */ color: oklch(69.4% 0.095 303.7);
Tailwind
colors: {
  custom: {
    50: '#c3afdc',
    500: '#a98ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a98ecd;
$custom-light: #c3afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ecd",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 265.714,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.09492,
    "h": 303.7
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

primary
#A98ECD
secondary
#DDE5D2
accent
#B2347C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A98ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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