#A98CC7#A98CC7

#A98CC7 is a light, moderate violet. Relative luminance 0.313; OKLCH L 68.8% C 0.090 H 306.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A98CC7
RGBrgb(169, 140, 199)
HSLhsl(269, 35%, 66%)
HSVhsv(269, 30%, 78%)
CMYKcmyk(15.1%, 29.6%, 0%, 22%)
CIE-LABlab(62.77, 22.38, -26.47)
CIE-LCHlch(62.77, 34.66, 310.22°)
OKLaboklab(68.78% 0.0539 -0.0726)
OKLCHoklch(68.78% 0.09 306.6)
XYZxyz(36.0471, 31.3149, 58.1671)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CC7 #AAC78C
analogous
#8C8DC7 #A98CC7 #C78CC7
triadic
#A98CC7 #C7A98C #8CC7A9
tetradic
#A98CC7 #C78C8D #AAC78C #8CC7C7
square
#A98CC7 #C78C8D #AAC78C #8CC7C7
split-complementary
#A98CC7 #C7C78C #8DC78C
monochromatic
#6C4792 #8A63B3 #A98CC7 #C8B5DB #E7DEEF

Accessibility & contrast

On white

2.89
#A98CC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A98CC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CC7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CC7#FFFFFF#000000##000000
##A98CC71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8197C9
Deuteranopia (green-blind)
#8798C5
Tritanopia (blue-blind)
#A594A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a98cc7;
/* rgb */ color: rgb(169, 140, 199);
/* oklch */ color: oklch(68.8% 0.090 306.6);
Tailwind
colors: {
  custom: {
    50: '#c3add8',
    500: '#a98cc7',
    950: '#000000',
  },
}
SCSS
$custom: #a98cc7;
$custom-light: #c3add8;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cc7",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 199
  },
  "hsl": {
    "h": 269.492,
    "s": 34.503,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.09046,
    "h": 306.6
  },
  "luminance": 0.31315
}

Semantic roles & 50–950 ramp

primary
#A98CC7
secondary
#D8E1CE
accent
#AD3874
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A98CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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