#A98ECB#A98ECB

#A98ECB is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.3% C 0.092 H 304.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A98ECB
RGBrgb(169, 142, 203)
HSLhsl(267, 37%, 68%)
HSVhsv(267, 30%, 80%)
CMYKcmyk(16.7%, 30%, 0%, 20.4%)
CIE-LABlab(63.42, 22.14, -27.71)
CIE-LCHlch(63.42, 35.47, 308.62°)
OKLaboklab(69.33% 0.0521 -0.0762)
OKLCHoklch(69.33% 0.092 304.4)
XYZxyz(36.8125, 32.0929, 60.7435)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98ECB #B0CB8E
analogous
#8E91CB #A98ECB #C78ECB
triadic
#A98ECB #CBA98E #8ECBA9
tetradic
#A98ECB #CB8E91 #B0CB8E #8ECBC7
square
#A98ECB #CB8E91 #B0CB8E #8ECBC7
split-complementary
#A98ECB #CBC78E #91CB8E
monochromatic
#6B4698 #8964B8 #A98ECB #C9B8DE #E9E2F2

Accessibility & contrast

On white

2.83
#A98ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A98ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98ECB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98ECB#FFFFFF#000000##000000
##A98ECB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CD
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#A497A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a98ecb;
/* rgb */ color: rgb(169, 142, 203);
/* oklch */ color: oklch(69.3% 0.092 304.4);
Tailwind
colors: {
  custom: {
    50: '#c3afdb',
    500: '#a98ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a98ecb;
$custom-light: #c3afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ecb",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 266.557,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69331,
    "c": 0.09226,
    "h": 304.4
  },
  "luminance": 0.32093
}

Semantic roles & 50–950 ramp

primary
#A98ECB
secondary
#DBE4D1
accent
#B0367A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A98ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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