#A289F7#A289F7

#A289F7 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.158 H 292.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A289F7
RGBrgb(162, 137, 247)
HSLhsl(254, 87%, 75%)
HSVhsv(254, 45%, 97%)
CMYKcmyk(34.4%, 44.5%, 0%, 3.1%)
CIE-LABlab(63.58, 33.64, -51.92)
CIE-LCHlch(63.58, 61.86, 302.94°)
OKLaboklab(69.95% 0.0599 -0.1462)
OKLCHoklch(69.95% 0.158 292.3)
XYZxyz(40.6301, 32.2872, 92.0690)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A289F7 #DEF789
analogous
#89A7F7 #A289F7 #D989F7
triadic
#A289F7 #F7A289 #89F7A2
tetradic
#A289F7 #F789A7 #DEF789 #89F7D9
square
#A289F7 #F789A7 #DEF789 #89F7D9
split-complementary
#A289F7 #F7D989 #A7F789
monochromatic
#4816EF #7550F3 #A289F7 #CFC2FB #E8E2FD

Accessibility & contrast

On white

2.82
#A289F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#A289F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A289F7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A289F7#FFFFFF#000000##000000
##A289F71.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#8D9EB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a289f7;
/* rgb */ color: rgb(162, 137, 247);
/* oklch */ color: oklch(70.0% 0.158 292.3);
Tailwind
colors: {
  custom: {
    50: '#c1abfa',
    500: '#a289f7',
    950: '#000000',
  },
}
SCSS
$custom: #a289f7;
$custom-light: #c1abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a289f7",
  "rgb": {
    "r": 162,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 253.636,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69952,
    "c": 0.15796,
    "h": 292.3
  },
  "luminance": 0.32288
}

Semantic roles & 50–950 ramp

primary
#A289F7
secondary
#EEF5D6
accent
#E402B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A289F7

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

Preview Lab → · Contrast checker → · Palette generator →

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