#A285DF#A285DF

#A285DF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.0% C 0.132 H 297.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A285DF
RGBrgb(162, 133, 223)
HSLhsl(259, 58%, 70%)
HSVhsv(259, 40%, 87%)
CMYKcmyk(27.4%, 40.4%, 0%, 12.5%)
CIE-LABlab(61.47, 29.86, -41.97)
CIE-LCHlch(61.47, 51.51, 305.43°)
OKLaboklab(67.97% 0.0613 -0.1172)
OKLCHoklch(67.97% 0.132 297.6)
XYZxyz(36.6040, 29.7838, 73.6181)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285DF #C2DF85
analogous
#8595DF #A285DF #CF85DF
triadic
#A285DF #DFA285 #85DFA2
tetradic
#A285DF #DF8595 #C2DF85 #85DFCF
square
#A285DF #DF8595 #C2DF85 #85DFCF
split-complementary
#A285DF #DFCF85 #95DF85
monochromatic
#5D31B9 #7D55D2 #A285DF #C7B5EC #ECE6F8

Accessibility & contrast

On white

3.02
#A285DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A285DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A285DF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285DF#FFFFFF#000000##000000
##A285DF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C95E2
Deuteranopia (green-blind)
#7193DD
Tritanopia (blue-blind)
#9695A7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a285df;
/* rgb */ color: rgb(162, 133, 223);
/* oklch */ color: oklch(68.0% 0.132 297.6);
Tailwind
colors: {
  custom: {
    50: '#bfa9e9',
    500: '#a285df',
    950: '#000000',
  },
}
SCSS
$custom: #a285df;
$custom-light: #bfa9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a285df",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 259.333,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67974,
    "c": 0.13231,
    "h": 297.6
  },
  "luminance": 0.29784
}

Semantic roles & 50–950 ramp

primary
#A285DF
secondary
#E4EDD3
accent
#C61F90
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A285DF

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

Preview Lab → · Contrast checker → · Palette generator →

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