#A285FE#A285FE

#A285FE is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.173 H 292.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A285FE
RGBrgb(162, 133, 254)
HSLhsl(254, 98%, 76%)
HSVhsv(254, 48%, 100%)
CMYKcmyk(36.2%, 47.6%, 0%, 0.4%)
CIE-LABlab(63.02, 37.72, -56.65)
CIE-LCHlch(63.02, 68.06, 303.66°)
OKLaboklab(69.65% 0.0658 -0.16)
OKLCHoklch(69.65% 0.173 292.4)
XYZxyz(41.1725, 31.6112, 97.6790)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285FE #E1FE85
analogous
#85A4FE #A285FE #DE85FE
triadic
#A285FE #FEA285 #85FEA2
tetradic
#A285FE #FE85A4 #E1FE85 #85FEDE
square
#A285FE #FE85A4 #E1FE85 #85FEDE
split-complementary
#A285FE #FEDE85 #A4FE85
monochromatic
#450CFD #7448FE #A285FE #D0C2FE #E8E1FF

Accessibility & contrast

On white

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

On black

7.32
#A285FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285FE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285FE#FFFFFF#000000##000000
##A285FE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a285fe;
/* rgb */ color: rgb(162, 133, 254);
/* oklch */ color: oklch(69.7% 0.173 292.4);
Tailwind
colors: {
  custom: {
    50: '#c1a9ff',
    500: '#a285fe',
    950: '#000000',
  },
}
SCSS
$custom: #a285fe;
$custom-light: #c1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a285fe",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 254.38,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.6965,
    "c": 0.17301,
    "h": 292.4
  },
  "luminance": 0.31612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A285FE

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

Preview Lab → · Contrast checker → · Palette generator →

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