#A98FF2#A98FF2

#A98FF2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.143 H 294.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A98FF2
RGBrgb(169, 143, 242)
HSLhsl(256, 79%, 75%)
HSVhsv(256, 41%, 95%)
CMYKcmyk(30.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(65.35, 30.82, -46.33)
CIE-LCHlch(65.35, 55.65, 303.63°)
OKLaboklab(71.36% 0.0594 -0.1297)
OKLCHoklch(71.36% 0.143 294.6)
XYZxyz(42.2077, 34.4901, 88.4207)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FF2 #D8F28F
analogous
#8FA6F2 #A98FF2 #DB8FF2
triadic
#A98FF2 #F2A98F #8FF2A9
tetradic
#A98FF2 #F28FA6 #D8F28F #8FF2DB
square
#A98FF2 #F28FA6 #D8F28F #8FF2DB
split-complementary
#A98FF2 #F2DB8F #A6F28F
monochromatic
#5521E5 #7F58EC #A98FF2 #D3C6F8 #EAE4FC

Accessibility & contrast

On white

2.66
#A98FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A98FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FF2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FF2#FFFFFF#000000##000000
##A98FF21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#769DF0
Tritanopia (blue-blind)
#99A1B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98ff2;
/* rgb */ color: rgb(169, 143, 242);
/* oklch */ color: oklch(71.4% 0.143 294.6);
Tailwind
colors: {
  custom: {
    50: '#c5b0f7',
    500: '#a98ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a98ff2;
$custom-light: #c5b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ff2",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 255.758,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.1427,
    "h": 294.6
  },
  "luminance": 0.34491
}

Semantic roles & 50–950 ramp

primary
#A98FF2
secondary
#ECF4D7
accent
#DB0AA4
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A98FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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