#A289FE#A289FE

#A289FE is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.3% C 0.167 H 291.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A289FE
RGBrgb(162, 137, 254)
HSLhsl(253, 98%, 77%)
HSVhsv(253, 46%, 100%)
CMYKcmyk(36.2%, 46.1%, 0%, 0.4%)
CIE-LABlab(63.94, 35.45, -55.19)
CIE-LCHlch(63.94, 65.59, 302.72°)
OKLaboklab(70.34% 0.0608 -0.1557)
OKLCHoklch(70.34% 0.167 291.3)
XYZxyz(41.7306, 32.7274, 97.8651)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A289FE #E5FE89
analogous
#89ABFE #A289FE #DD89FE
triadic
#A289FE #FEA289 #89FEA2
tetradic
#A289FE #FE89AB #E5FE89 #89FEDD
square
#A289FE #FE89AB #E5FE89 #89FEDD
split-complementary
#A289FE #FEDD89 #ABFE89
monochromatic
#4210FD #724CFD #A289FE #D2C6FF #E7E1FF

Accessibility & contrast

On white

2.78
#A289FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#A289FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A289FE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A289FE#FFFFFF#000000##000000
##A289FE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#6299FB
Tritanopia (blue-blind)
#8BA0B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a289fe;
/* rgb */ color: rgb(162, 137, 254);
/* oklch */ color: oklch(70.3% 0.167 291.3);
Tailwind
colors: {
  custom: {
    50: '#c1abff',
    500: '#a289fe',
    950: '#000000',
  },
}
SCSS
$custom: #a289fe;
$custom-light: #c1abff;
$custom-dark: #000000;
JSON
{
  "hex": "#a289fe",
  "rgb": {
    "r": 162,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 252.821,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7034,
    "c": 0.16717,
    "h": 291.3
  },
  "luminance": 0.32728
}

Semantic roles & 50–950 ramp

primary
#A289FE
secondary
#F0F7D4
accent
#E600B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A289FE

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

Preview Lab → · Contrast checker → · Palette generator →

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