#A889F2#A889F2

#A889F2 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.2% C 0.152 H 295.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A889F2
RGBrgb(168, 137, 242)
HSLhsl(258, 80%, 74%)
HSVhsv(258, 43%, 95%)
CMYKcmyk(30.6%, 43.4%, 0%, 5.1%)
CIE-LABlab(63.86, 33.94, -48.69)
CIE-LCHlch(63.86, 59.35, 304.88°)
OKLaboklab(70.21% 0.0662 -0.1366)
OKLCHoklch(70.21% 0.152 295.9)
XYZxyz(41.1172, 32.6264, 88.1184)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A889F2 #D3F289
analogous
#899FF2 #A889F2 #DC89F2
triadic
#A889F2 #F2A889 #89F2A8
tetradic
#A889F2 #F2899F #D3F289 #89F2DC
square
#A889F2 #F2899F #D3F289 #89F2DC
split-complementary
#A889F2 #F2DC89 #9FF289
monochromatic
#571BE6 #7F52EC #A889F2 #D1C0F8 #EBE3FC

Accessibility & contrast

On white

2.79
#A889F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#A889F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A889F2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A889F2#FFFFFF#000000##000000
##A889F21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#989CB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a889f2;
/* rgb */ color: rgb(168, 137, 242);
/* oklch */ color: oklch(70.2% 0.152 295.9);
Tailwind
colors: {
  custom: {
    50: '#c4acf7',
    500: '#a889f2',
    950: '#000000',
  },
}
SCSS
$custom: #a889f2;
$custom-light: #c4acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a889f2",
  "rgb": {
    "r": 168,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 257.714,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70206,
    "c": 0.15182,
    "h": 295.9
  },
  "luminance": 0.32627
}

Semantic roles & 50–950 ramp

primary
#A889F2
secondary
#EBF4D7
accent
#DC099E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A889F2

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

Preview Lab → · Contrast checker → · Palette generator →

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