#A899F2#A899F2

#A899F2 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.1% C 0.127 H 290.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A899F2
RGBrgb(168, 153, 242)
HSLhsl(250, 77%, 77%)
HSVhsv(250, 37%, 95%)
CMYKcmyk(30.6%, 36.8%, 0%, 5.1%)
CIE-LABlab(67.66, 24.89, -42.71)
CIE-LCHlch(67.66, 49.43, 300.23°)
OKLaboklab(73.1% 0.0449 -0.1193)
OKLCHoklch(73.1% 0.127 290.6)
XYZxyz(43.5626, 37.5172, 88.9336)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A899F2 #E3F299
analogous
#99B7F2 #A899F2 #D499F2
triadic
#A899F2 #F2A899 #99F2A8
tetradic
#A899F2 #F299B7 #E3F299 #99F2D4
square
#A899F2 #F299B7 #E3F299 #99F2D4
split-complementary
#A899F2 #F2D499 #B7F299
monochromatic
#4B2CE4 #7A63EB #A899F2 #D6CFF9 #E8E4FC

Accessibility & contrast

On white

2.47
#A899F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A899F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A899F2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A899F2#FFFFFF#000000##000000
##A899F21.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#97A9BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a899f2;
/* rgb */ color: rgb(168, 153, 242);
/* oklch */ color: oklch(73.1% 0.127 290.6);
Tailwind
colors: {
  custom: {
    50: '#c4b7f6',
    500: '#a899f2',
    950: '#000000',
  },
}
SCSS
$custom: #a899f2;
$custom-light: #c4b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a899f2",
  "rgb": {
    "r": 168,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 250.112,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73095,
    "c": 0.12743,
    "h": 290.6
  },
  "luminance": 0.37518
}

Semantic roles & 50–950 ramp

primary
#A899F2
secondary
#EFF3D8
accent
#DA0CB7
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A899F2

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

Preview Lab → · Contrast checker → · Palette generator →

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