#A285F5#A285F5

#A285F5 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.1% C 0.161 H 293.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A285F5
RGBrgb(162, 133, 245)
HSLhsl(256, 85%, 74%)
HSVhsv(256, 46%, 96%)
CMYKcmyk(33.9%, 45.7%, 0%, 3.9%)
CIE-LABlab(62.55, 35.39, -52.45)
CIE-LCHlch(62.55, 63.28, 304.01°)
OKLaboklab(69.14% 0.0648 -0.1477)
OKLCHoklch(69.14% 0.161 293.7)
XYZxyz(39.7650, 31.0482, 90.2663)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285F5 #D8F585
analogous
#85A0F5 #A285F5 #DA85F5
triadic
#A285F5 #F5A285 #85F5A2
tetradic
#A285F5 #F585A0 #D8F585 #85F5DA
square
#A285F5 #F585A0 #D8F585 #85F5DA
split-complementary
#A285F5 #F5DA85 #A0F585
monochromatic
#4C14EC #774CF0 #A285F5 #CDBEFA #E9E3FD

Accessibility & contrast

On white

2.91
#A285F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#A285F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285F5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285F5#FFFFFF#000000##000000
##A285F51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99F9
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#8E9AB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a285f5;
/* rgb */ color: rgb(162, 133, 245);
/* oklch */ color: oklch(69.1% 0.161 293.7);
Tailwind
colors: {
  custom: {
    50: '#c1a9f9',
    500: '#a285f5',
    950: '#000000',
  },
}
SCSS
$custom: #a285f5;
$custom-light: #c1a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a285f5",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 255.536,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69142,
    "c": 0.16131,
    "h": 293.7
  },
  "luminance": 0.31049
}

Semantic roles & 50–950 ramp

primary
#A285F5
secondary
#EDF5D6
accent
#E104A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A285F5

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

Preview Lab → · Contrast checker → · Palette generator →

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