#A285EB#A285EB

#A285EB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.6% C 0.148 H 295.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A285EB
RGBrgb(162, 133, 235)
HSLhsl(257, 72%, 72%)
HSVhsv(257, 43%, 92%)
CMYKcmyk(31.1%, 43.4%, 0%, 7.8%)
CIE-LABlab(62.04, 32.85, -47.73)
CIE-LCHlch(62.04, 57.94, 304.53°)
OKLaboklab(68.6% 0.0634 -0.134)
OKLCHoklch(68.6% 0.148 295.3)
XYZxyz(38.2795, 30.4540, 82.4426)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285EB #CEEB85
analogous
#859BEB #A285EB #D585EB
triadic
#A285EB #EBA285 #85EBA2
tetradic
#A285EB #EB859B #CEEB85 #85EBD5
square
#A285EB #EB859B #CEEB85 #85EBD5
split-complementary
#A285EB #EBD585 #9BEB85
monochromatic
#5523D3 #7A50E2 #A285EB #CABAF4 #EBE5FB

Accessibility & contrast

On white

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

On black

7.09
#A285EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285EB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285EB#FFFFFF#000000##000000
##A285EB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#9298AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a285eb;
/* rgb */ color: rgb(162, 133, 235);
/* oklch */ color: oklch(68.6% 0.148 295.3);
Tailwind
colors: {
  custom: {
    50: '#c0a9f2',
    500: '#a285eb',
    950: '#000000',
  },
}
SCSS
$custom: #a285eb;
$custom-light: #c0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a285eb",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 257.059,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.14819,
    "h": 295.3
  },
  "luminance": 0.30455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A285EB

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

Preview Lab → · Contrast checker → · Palette generator →

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