#A285FA#A285FA

#A285FA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.4% C 0.168 H 292.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A285FA
RGBrgb(162, 133, 250)
HSLhsl(255, 92%, 75%)
HSVhsv(255, 47%, 98%)
CMYKcmyk(35.2%, 46.8%, 0%, 2%)
CIE-LABlab(62.81, 36.68, -54.79)
CIE-LCHlch(62.81, 65.93, 303.80°)
OKLaboklab(69.42% 0.0654 -0.1546)
OKLCHoklch(69.42% 0.168 292.9)
XYZxyz(40.5386, 31.3577, 94.3407)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285FA #DDFA85
analogous
#85A2FA #A285FA #DD85FA
triadic
#A285FA #FAA285 #85FAA2
tetradic
#A285FA #FA85A2 #DDFA85 #85FADD
square
#A285FA #FA85A2 #DDFA85 #85FADD
split-complementary
#A285FA #FADD85 #A2FA85
monochromatic
#480FF5 #754AF8 #A285FA #CFC0FC #E9E2FE

Accessibility & contrast

On white

2.89
#A285FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#A285FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285FA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285FA#FFFFFF#000000##000000
##A285FA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#8D9CB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a285fa;
/* rgb */ color: rgb(162, 133, 250);
/* oklch */ color: oklch(69.4% 0.168 292.9);
Tailwind
colors: {
  custom: {
    50: '#c1a9fc',
    500: '#a285fa',
    950: '#000000',
  },
}
SCSS
$custom: #a285fa;
$custom-light: #c1a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a285fa",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 254.872,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.16782,
    "h": 292.9
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#A285FA
secondary
#EEF6D5
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A285FA

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

Preview Lab → · Contrast checker → · Palette generator →

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