#A285FC#A285FC

#A285FC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.170 H 292.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A285FC
RGBrgb(162, 133, 252)
HSLhsl(255, 95%, 75%)
HSVhsv(255, 47%, 99%)
CMYKcmyk(35.7%, 47.2%, 0%, 1.2%)
CIE-LABlab(62.91, 37.20, -55.72)
CIE-LCHlch(62.91, 67.00, 303.72°)
OKLaboklab(69.54% 0.0656 -0.1573)
OKLCHoklch(69.54% 0.17 292.6)
XYZxyz(40.8539, 31.4838, 96.0011)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285FC #DFFC85
analogous
#85A3FC #A285FC #DE85FC
triadic
#A285FC #FCA285 #85FCA2
tetradic
#A285FC #FC85A3 #DFFC85 #85FCDE
square
#A285FC #FC85A3 #DFFC85 #85FCDE
split-complementary
#A285FC #FCDE85 #A3FC85
monochromatic
#470EF9 #7449FB #A285FC #D0C1FD #E8E1FE

Accessibility & contrast

On white

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

On black

7.30
#A285FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285FC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285FC#FFFFFF#000000##000000
##A285FC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#8C9CB5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a285fc;
/* rgb */ color: rgb(162, 133, 252);
/* oklch */ color: oklch(69.5% 0.170 292.6);
Tailwind
colors: {
  custom: {
    50: '#c1a9fe',
    500: '#a285fc',
    950: '#000000',
  },
}
SCSS
$custom: #a285fc;
$custom-light: #c1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a285fc",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 254.622,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.17041,
    "h": 292.6
  },
  "luminance": 0.31485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A285FC

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

Preview Lab → · Contrast checker → · Palette generator →

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