#A285FB#A285FB

#A285FB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.169 H 292.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A285FB
RGBrgb(162, 133, 251)
HSLhsl(255, 94%, 75%)
HSVhsv(255, 47%, 98%)
CMYKcmyk(35.5%, 47%, 0%, 1.6%)
CIE-LABlab(62.86, 36.94, -55.26)
CIE-LCHlch(62.86, 66.46, 303.76°)
OKLaboklab(69.48% 0.0655 -0.1559)
OKLCHoklch(69.48% 0.169 292.8)
XYZxyz(40.6959, 31.4206, 95.1687)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285FB #DEFB85
analogous
#85A3FB #A285FB #DD85FB
triadic
#A285FB #FBA285 #85FBA2
tetradic
#A285FB #FB85A3 #DEFB85 #85FBDD
square
#A285FB #FB85A3 #DEFB85 #85FBDD
split-complementary
#A285FB #FBDD85 #A3FB85
monochromatic
#480EF7 #754AF9 #A285FB #CFC0FD #E8E1FE

Accessibility & contrast

On white

2.88
#A285FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A285FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285FB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285FB#FFFFFF#000000##000000
##A285FB1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#8C9CB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a285fb;
/* rgb */ color: rgb(162, 133, 251);
/* oklch */ color: oklch(69.5% 0.169 292.8);
Tailwind
colors: {
  custom: {
    50: '#c1a9fd',
    500: '#a285fb',
    950: '#000000',
  },
}
SCSS
$custom: #a285fb;
$custom-light: #c1a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a285fb",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 254.746,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69479,
    "c": 0.16912,
    "h": 292.8
  },
  "luminance": 0.31421
}

Semantic roles & 50–950 ramp

primary
#A285FB
secondary
#EEF6D5
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A285FB

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

Preview Lab → · Contrast checker → · Palette generator →

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