#A98BEC#A98BEC

#A98BEC is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.141 H 296.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A98BEC
RGBrgb(169, 139, 236)
HSLhsl(259, 72%, 74%)
HSVhsv(259, 41%, 93%)
CMYKcmyk(28.4%, 41.1%, 0%, 7.5%)
CIE-LABlab(64.13, 31.60, -44.96)
CIE-LCHlch(64.13, 54.95, 305.10°)
OKLaboklab(70.34% 0.0637 -0.1257)
OKLCHoklch(70.34% 0.141 296.9)
XYZxyz(40.7315, 32.9559, 83.5558)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BEC #CEEC8B
analogous
#8B9DEC #A98BEC #D98BEC
triadic
#A98BEC #ECA98B #8BECA9
tetradic
#A98BEC #EC8B9D #CEEC8B #8BECD9
square
#A98BEC #EC8B9D #CEEC8B #8BECD9
split-complementary
#A98BEC #ECD98B #9DEC8B
monochromatic
#5C24D9 #8256E3 #A98BEC #D0C0F5 #ECE5FB

Accessibility & contrast

On white

2.77
#A98BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A98BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BEC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BEC#FFFFFF#000000##000000
##A98BEC1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#759AEA
Tritanopia (blue-blind)
#9B9CB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a98bec;
/* rgb */ color: rgb(169, 139, 236);
/* oklch */ color: oklch(70.3% 0.141 296.9);
Tailwind
colors: {
  custom: {
    50: '#c5adf2',
    500: '#a98bec',
    950: '#000000',
  },
}
SCSS
$custom: #a98bec;
$custom-light: #c5adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bec",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 258.557,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70336,
    "c": 0.14097,
    "h": 296.9
  },
  "luminance": 0.32956
}

Semantic roles & 50–950 ramp

primary
#A98BEC
secondary
#EAF2D9
accent
#D41298
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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