#A889F7#A889F7

#A889F7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.158 H 295.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A889F7
RGBrgb(168, 137, 247)
HSLhsl(257, 87%, 75%)
HSVhsv(257, 45%, 97%)
CMYKcmyk(32%, 44.5%, 0%, 3.1%)
CIE-LABlab(64.10, 35.19, -51.05)
CIE-LCHlch(64.10, 62.01, 304.58°)
OKLaboklab(70.47% 0.0669 -0.1435)
OKLCHoklch(70.47% 0.158 295)
XYZxyz(41.8784, 32.9309, 92.1276)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A889F7 #D8F789
analogous
#89A1F7 #A889F7 #DF89F7
triadic
#A889F7 #F7A889 #89F7A8
tetradic
#A889F7 #F789A1 #D8F789 #89F7DF
square
#A889F7 #F789A1 #D8F789 #89F7DF
split-complementary
#A889F7 #F7DF89 #A1F789
monochromatic
#5316EF #7E50F3 #A889F7 #D2C2FB #EAE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A889F7#FFFFFF#000000##000000
##A889F71.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)
#669CFB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#969DB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a889f7;
/* rgb */ color: rgb(168, 137, 247);
/* oklch */ color: oklch(70.5% 0.158 295.0);
Tailwind
colors: {
  custom: {
    50: '#c5acfa',
    500: '#a889f7',
    950: '#000000',
  },
}
SCSS
$custom: #a889f7;
$custom-light: #c5acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a889f7",
  "rgb": {
    "r": 168,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 256.909,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70474,
    "c": 0.15834,
    "h": 295
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#A889F7
secondary
#ECF5D6
accent
#E402A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A889F7

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

Preview Lab → · Contrast checker → · Palette generator →

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