#A285EA#A285EA

#A285EA is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.5% C 0.147 H 295.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A285EA
RGBrgb(162, 133, 234)
HSLhsl(257, 71%, 72%)
HSVhsv(257, 43%, 92%)
CMYKcmyk(30.8%, 43.2%, 0%, 8.2%)
CIE-LABlab(61.99, 32.60, -47.25)
CIE-LCHlch(61.99, 57.41, 304.60°)
OKLaboklab(68.55% 0.0632 -0.1326)
OKLCHoklch(68.55% 0.147 295.5)
XYZxyz(38.1354, 30.3964, 81.6839)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285EA #CDEA85
analogous
#859BEA #A285EA #D585EA
triadic
#A285EA #EAA285 #85EAA2
tetradic
#A285EA #EA859B #CDEA85 #85EAD5
square
#A285EA #EA859B #CDEA85 #85EAD5
split-complementary
#A285EA #EAD585 #9BEA85
monochromatic
#5624D1 #7A51E1 #A285EA #CAB9F3 #EBE5FB

Accessibility & contrast

On white

2.97
#A285EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A285EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285EA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285EA#FFFFFF#000000##000000
##A285EA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#9297AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a285ea;
/* rgb */ color: rgb(162, 133, 234);
/* oklch */ color: oklch(68.5% 0.147 295.5);
Tailwind
colors: {
  custom: {
    50: '#c0a9f1',
    500: '#a285ea',
    950: '#000000',
  },
}
SCSS
$custom: #a285ea;
$custom-light: #c0a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a285ea",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 257.228,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.14687,
    "h": 295.5
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#A285EA
secondary
#EBF2D9
accent
#D3139C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A285EA

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

Preview Lab → · Contrast checker → · Palette generator →

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