#A789E4#A789E4

#A789E4 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.133 H 298.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A789E4
RGBrgb(167, 137, 228)
HSLhsl(260, 63%, 72%)
HSVhsv(260, 40%, 89%)
CMYKcmyk(26.8%, 39.9%, 0%, 10.6%)
CIE-LABlab(63.10, 30.22, -42.16)
CIE-LCHlch(63.10, 51.87, 305.64°)
OKLaboklab(69.4% 0.0627 -0.1177)
OKLCHoklch(69.4% 0.133 298)
XYZxyz(38.8823, 31.7079, 77.4555)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A789E4 #C6E489
analogous
#8999E4 #A789E4 #D589E4
triadic
#A789E4 #E4A789 #89E4A7
tetradic
#A789E4 #E48999 #C6E489 #89E4D5
square
#A789E4 #E48999 #C6E489 #89E4D5
split-complementary
#A789E4 #E4D589 #99E489
monochromatic
#5F2DC5 #8257D9 #A789E4 #CCBBEF #ECE6F9

Accessibility & contrast

On white

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

On black

7.34
#A789E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A789E4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A789E4#FFFFFF#000000##000000
##A789E41.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E7
Deuteranopia (green-blind)
#7698E2
Tritanopia (blue-blind)
#9B99AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a789e4;
/* rgb */ color: rgb(167, 137, 228);
/* oklch */ color: oklch(69.4% 0.133 298.0);
Tailwind
colors: {
  custom: {
    50: '#c3abed',
    500: '#a789e4',
    950: '#000000',
  },
}
SCSS
$custom: #a789e4;
$custom-light: #c3abed;
$custom-dark: #000000;
JSON
{
  "hex": "#a789e4",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 228
  },
  "hsl": {
    "h": 259.78,
    "s": 62.759,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69395,
    "c": 0.1333,
    "h": 298
  },
  "luminance": 0.31708
}

Semantic roles & 50–950 ramp

primary
#A789E4
secondary
#E8F0D9
accent
#CB1B91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A789E4

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

Preview Lab → · Contrast checker → · Palette generator →

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