#A789E5#A789E5

#A789E5 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.4% C 0.135 H 297.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A789E5
RGBrgb(167, 137, 229)
HSLhsl(260, 64%, 72%)
HSVhsv(260, 40%, 90%)
CMYKcmyk(27.1%, 40.2%, 0%, 10.2%)
CIE-LABlab(63.15, 30.46, -42.64)
CIE-LCHlch(63.15, 52.40, 305.54°)
OKLaboklab(69.45% 0.0628 -0.1191)
OKLCHoklch(69.45% 0.135 297.8)
XYZxyz(39.0216, 31.7636, 78.1887)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A789E5 #C7E589
analogous
#8999E5 #A789E5 #D589E5
triadic
#A789E5 #E5A789 #89E5A7
tetradic
#A789E5 #E58999 #C7E589 #89E5D5
square
#A789E5 #E58999 #C7E589 #89E5D5
split-complementary
#A789E5 #E5D589 #99E589
monochromatic
#5F2CC8 #8257DA #A789E5 #CCBBF0 #ECE6F9

Accessibility & contrast

On white

2.86
#A789E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A789E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A789E5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A789E5#FFFFFF#000000##000000
##A789E51.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E8
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#9B99AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a789e5;
/* rgb */ color: rgb(167, 137, 229);
/* oklch */ color: oklch(69.4% 0.135 297.8);
Tailwind
colors: {
  custom: {
    50: '#c3abed',
    500: '#a789e5',
    950: '#000000',
  },
}
SCSS
$custom: #a789e5;
$custom-light: #c3abed;
$custom-dark: #000000;
JSON
{
  "hex": "#a789e5",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 259.565,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.13462,
    "h": 297.8
  },
  "luminance": 0.31764
}

Semantic roles & 50–950 ramp

primary
#A789E5
secondary
#E9F1D9
accent
#CC1A92
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A789E5

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

Preview Lab → · Contrast checker → · Palette generator →

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