#A285EC#A285EC

#A285EC is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.7% C 0.150 H 295.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A285EC
RGBrgb(162, 133, 236)
HSLhsl(257, 73%, 72%)
HSVhsv(257, 44%, 93%)
CMYKcmyk(31.4%, 43.6%, 0%, 7.5%)
CIE-LABlab(62.09, 33.10, -48.21)
CIE-LCHlch(62.09, 58.47, 304.47°)
OKLaboklab(68.65% 0.0635 -0.1353)
OKLCHoklch(68.65% 0.15 295.1)
XYZxyz(38.4244, 30.5120, 83.2056)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285EC #CFEC85
analogous
#859CEC #A285EC #D585EC
triadic
#A285EC #ECA285 #85ECA2
tetradic
#A285EC #EC859C #CFEC85 #85ECD5
square
#A285EC #EC859C #CFEC85 #85ECD5
split-complementary
#A285EC #ECD585 #9CEC85
monochromatic
#5421D5 #7A50E4 #A285EC #CABAF4 #EBE5FB

Accessibility & contrast

On white

2.96
#A285EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A285EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285EC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285EC#FFFFFF#000000##000000
##A285EC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#9298AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a285ec;
/* rgb */ color: rgb(162, 133, 236);
/* oklch */ color: oklch(68.7% 0.150 295.1);
Tailwind
colors: {
  custom: {
    50: '#c0a9f2',
    500: '#a285ec',
    950: '#000000',
  },
}
SCSS
$custom: #a285ec;
$custom-light: #c0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a285ec",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 256.893,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68652,
    "c": 0.14951,
    "h": 295.1
  },
  "luminance": 0.30513
}

Semantic roles & 50–950 ramp

primary
#A285EC
secondary
#EBF3D8
accent
#D5109E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A285EC

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

Preview Lab → · Contrast checker → · Palette generator →

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