#A285F1#A285F1

#A285F1 is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.9% C 0.156 H 294.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A285F1
RGBrgb(162, 133, 241)
HSLhsl(256, 79%, 73%)
HSVhsv(256, 45%, 95%)
CMYKcmyk(32.8%, 44.8%, 0%, 5.5%)
CIE-LABlab(62.34, 34.37, -50.57)
CIE-LCHlch(62.34, 61.14, 304.20°)
OKLaboklab(68.92% 0.0642 -0.1422)
OKLCHoklch(68.92% 0.156 294.3)
XYZxyz(39.1610, 30.8066, 87.0851)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A285F1 #D4F185
analogous
#859EF1 #A285F1 #D885F1
triadic
#A285F1 #F1A285 #85F1A2
tetradic
#A285F1 #F1859E #D4F185 #85F1D8
square
#A285F1 #F1859E #D4F185 #85F1D8
split-complementary
#A285F1 #F1D885 #9EF185
monochromatic
#501AE2 #784EEB #A285F1 #CCBCF7 #EAE4FC

Accessibility & contrast

On white

2.93
#A285F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A285F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A285F1
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A285F1#FFFFFF#000000##000000
##A285F11.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#9099AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a285f1;
/* rgb */ color: rgb(162, 133, 241);
/* oklch */ color: oklch(68.9% 0.156 294.3);
Tailwind
colors: {
  custom: {
    50: '#c0a9f6',
    500: '#a285f1',
    950: '#000000',
  },
}
SCSS
$custom: #a285f1;
$custom-light: #c0a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a285f1",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 241
  },
  "hsl": {
    "h": 256.111,
    "s": 79.412,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68922,
    "c": 0.15608,
    "h": 294.3
  },
  "luminance": 0.30807
}

Semantic roles & 50–950 ramp

primary
#A285F1
secondary
#ECF4D7
accent
#DC0AA3
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A285F1

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

Preview Lab → · Contrast checker → · Palette generator →

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