#A789FF#A789FF

#A789FF is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.169 H 293.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A789FF
RGBrgb(167, 137, 255)
HSLhsl(255, 100%, 77%)
HSVhsv(255, 46%, 100%)
CMYKcmyk(34.5%, 46.3%, 0%, 0%)
CIE-LABlab(64.42, 36.97, -54.94)
CIE-LCHlch(64.42, 66.22, 303.94°)
OKLaboklab(70.83% 0.0668 -0.1549)
OKLCHoklch(70.83% 0.169 293.3)
XYZxyz(42.9273, 33.3259, 98.7592)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A789FF #E1FF89
analogous
#89A6FF #A789FF #E289FF
triadic
#A789FF #FFA789 #89FFA7
tetradic
#A789FF #FF89A6 #E1FF89 #89FFE2
square
#A789FF #FF89A6 #E1FF89 #89FFE2
split-complementary
#A789FF #FFE289 #A6FF89
monochromatic
#4C0FFF #794CFF #A789FF #D5C6FF #E8E0FF

Accessibility & contrast

On white

2.74
#A789FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A789FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A789FF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A789FF#FFFFFF#000000##000000
##A789FF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#92A0B8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a789ff;
/* rgb */ color: rgb(167, 137, 255);
/* oklch */ color: oklch(70.8% 0.169 293.3);
Tailwind
colors: {
  custom: {
    50: '#c4acff',
    500: '#a789ff',
    950: '#000000',
  },
}
SCSS
$custom: #a789ff;
$custom-light: #c4acff;
$custom-dark: #000000;
JSON
{
  "hex": "#a789ff",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 255.254,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.16865,
    "h": 293.3
  },
  "luminance": 0.33327
}

Semantic roles & 50–950 ramp

primary
#A789FF
secondary
#EEF7D4
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A789FF

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

Preview Lab → · Contrast checker → · Palette generator →

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