#A789FC#A789FC

#A789FC is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.165 H 293.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A789FC
RGBrgb(167, 137, 252)
HSLhsl(256, 95%, 76%)
HSVhsv(256, 46%, 99%)
CMYKcmyk(33.7%, 45.6%, 0%, 1.2%)
CIE-LABlab(64.27, 36.20, -53.54)
CIE-LCHlch(64.27, 64.63, 304.06°)
OKLaboklab(70.66% 0.0664 -0.1508)
OKLCHoklch(70.66% 0.165 293.8)
XYZxyz(42.4482, 33.1343, 96.2357)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A789FC #DEFC89
analogous
#89A5FC #A789FC #E189FC
triadic
#A789FC #FCA789 #89FCA7
tetradic
#A789FC #FC89A5 #DEFC89 #89FCE1
square
#A789FC #FC89A5 #DEFC89 #89FCE1
split-complementary
#A789FC #FCE189 #A5FC89
monochromatic
#4E12F9 #7A4DFA #A789FC #D4C5FE #E9E1FE

Accessibility & contrast

On white

2.75
#A789FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A789FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A789FC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A789FC#FFFFFF#000000##000000
##A789FC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#939FB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a789fc;
/* rgb */ color: rgb(167, 137, 252);
/* oklch */ color: oklch(70.7% 0.165 293.8);
Tailwind
colors: {
  custom: {
    50: '#c4acfe',
    500: '#a789fc',
    950: '#000000',
  },
}
SCSS
$custom: #a789fc;
$custom-light: #c4acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a789fc",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 255.652,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70659,
    "c": 0.16477,
    "h": 293.8
  },
  "luminance": 0.33135
}

Semantic roles & 50–950 ramp

primary
#A789FC
secondary
#EEF6D5
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A789FC

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

Preview Lab → · Contrast checker → · Palette generator →

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