#A285FD#A285FD

#A285FD is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.172 H 292.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A285FD
RGBrgb(162, 133, 253)
HSLhsl(255, 97%, 76%)
HSVhsv(255, 47%, 99%)
CMYKcmyk(36%, 47.4%, 0%, 0.8%)
CIE-LABlab(62.97, 37.46, -56.19)
CIE-LCHlch(62.97, 67.53, 303.69°)
OKLaboklab(69.59% 0.0657 -0.1587)
OKLCHoklch(69.59% 0.172 292.5)
XYZxyz(41.0128, 31.5473, 96.8379)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285FD #E0FD85
analogous
#85A4FD #A285FD #DE85FD
triadic
#A285FD #FDA285 #85FDA2
tetradic
#A285FD #FD85A4 #E0FD85 #85FDDE
square
#A285FD #FD85A4 #E0FD85 #85FDDE
split-complementary
#A285FD #FDDE85 #A4FD85
monochromatic
#460DFB #7449FC #A285FD #D0C1FE #E8E1FF

Accessibility & contrast

On white

2.87
#A285FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A285FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285FD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285FD#FFFFFF#000000##000000
##A285FD1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#8B9DB5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a285fd;
/* rgb */ color: rgb(162, 133, 253);
/* oklch */ color: oklch(69.6% 0.172 292.5);
Tailwind
colors: {
  custom: {
    50: '#c1a9ff',
    500: '#a285fd',
    950: '#000000',
  },
}
SCSS
$custom: #a285fd;
$custom-light: #c1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a285fd",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 254.5,
    "s": 96.774,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.17171,
    "h": 292.5
  },
  "luminance": 0.31548
}

Semantic roles & 50–950 ramp

primary
#A285FD
secondary
#EEF7D4
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A285FD

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

Preview Lab → · Contrast checker → · Palette generator →

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