#A98CF2#A98CF2

#A98CF2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.8% C 0.147 H 295.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A98CF2
RGBrgb(169, 140, 242)
HSLhsl(257, 80%, 75%)
HSVhsv(257, 42%, 95%)
CMYKcmyk(30.2%, 42.1%, 0%, 5.1%)
CIE-LABlab(64.64, 32.51, -47.45)
CIE-LCHlch(64.64, 57.52, 304.42°)
OKLaboklab(70.82% 0.0634 -0.133)
OKLCHoklch(70.82% 0.147 295.5)
XYZxyz(41.7633, 33.6014, 88.2726)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CF2 #D5F28C
analogous
#8CA2F2 #A98CF2 #DC8CF2
triadic
#A98CF2 #F2A98C #8CF2A9
tetradic
#A98CF2 #F28CA2 #D5F28C #8CF2DC
square
#A98CF2 #F28CA2 #D5F28C #8CF2DC
split-complementary
#A98CF2 #F2DC8C #A2F28C
monochromatic
#571EE6 #8055EC #A98CF2 #D2C3F8 #EAE4FC

Accessibility & contrast

On white

2.72
#A98CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A98CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CF2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CF2#FFFFFF#000000##000000
##A98CF21.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#999EB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98cf2;
/* rgb */ color: rgb(169, 140, 242);
/* oklch */ color: oklch(70.8% 0.147 295.5);
Tailwind
colors: {
  custom: {
    50: '#c5aef7',
    500: '#a98cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a98cf2;
$custom-light: #c5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cf2",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 257.059,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.14732,
    "h": 295.5
  },
  "luminance": 0.33602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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