#A285EF#A285EF

#A285EF is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.8% C 0.153 H 294.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A285EF
RGBrgb(162, 133, 239)
HSLhsl(256, 77%, 73%)
HSVhsv(256, 44%, 94%)
CMYKcmyk(32.2%, 44.4%, 0%, 6.3%)
CIE-LABlab(62.24, 33.86, -49.63)
CIE-LCHlch(62.24, 60.08, 304.30°)
OKLaboklab(68.81% 0.064 -0.1395)
OKLCHoklch(68.81% 0.153 294.6)
XYZxyz(38.8639, 30.6878, 85.5204)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285EF #D2EF85
analogous
#859DEF #A285EF #D785EF
triadic
#A285EF #EFA285 #85EFA2
tetradic
#A285EF #EF859D #D2EF85 #85EFD7
square
#A285EF #EF859D #D2EF85 #85EFD7
split-complementary
#A285EF #EFD785 #9DEF85
monochromatic
#511DDD #794FE8 #A285EF #CBBBF6 #EAE4FB

Accessibility & contrast

On white

2.94
#A285EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#A285EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285EF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285EF#FFFFFF#000000##000000
##A285EF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#9199AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a285ef;
/* rgb */ color: rgb(162, 133, 239);
/* oklch */ color: oklch(68.8% 0.153 294.6);
Tailwind
colors: {
  custom: {
    50: '#c0a9f5',
    500: '#a285ef',
    950: '#000000',
  },
}
SCSS
$custom: #a285ef;
$custom-light: #c0a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a285ef",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 256.415,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.15345,
    "h": 294.6
  },
  "luminance": 0.30688
}

Semantic roles & 50–950 ramp

primary
#A285EF
secondary
#ECF3D8
accent
#D90CA1
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A285EF

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

Preview Lab → · Contrast checker → · Palette generator →

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