#A286F3#A286F3

#A286F3 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.157 H 293.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A286F3
RGBrgb(162, 134, 243)
HSLhsl(255, 82%, 74%)
HSVhsv(255, 45%, 95%)
CMYKcmyk(33.3%, 44.9%, 0%, 4.7%)
CIE-LABlab(62.68, 34.31, -51.15)
CIE-LCHlch(62.68, 61.59, 303.85°)
OKLaboklab(69.21% 0.0632 -0.1439)
OKLCHoklch(69.21% 0.157 293.7)
XYZxyz(39.5989, 31.2019, 88.7129)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286F3 #D7F386
analogous
#86A1F3 #A286F3 #D986F3
triadic
#A286F3 #F3A286 #86F3A2
tetradic
#A286F3 #F386A1 #D7F386 #86F3D9
square
#A286F3 #F386A1 #D7F386 #86F3D9
split-complementary
#A286F3 #F3D986 #A1F386
monochromatic
#4D17E8 #774EED #A286F3 #CDBEF9 #EAE3FC

Accessibility & contrast

On white

2.90
#A286F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A286F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286F3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286F3#FFFFFF#000000##000000
##A286F31.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#8F9BB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a286f3;
/* rgb */ color: rgb(162, 134, 243);
/* oklch */ color: oklch(69.2% 0.157 293.7);
Tailwind
colors: {
  custom: {
    50: '#c0a9f7',
    500: '#a286f3',
    950: '#000000',
  },
}
SCSS
$custom: #a286f3;
$custom-light: #c0a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a286f3",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 243
  },
  "hsl": {
    "h": 255.413,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.15719,
    "h": 293.7
  },
  "luminance": 0.31203
}

Semantic roles & 50–950 ramp

primary
#A286F3
secondary
#EDF4D7
accent
#DE07A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A286F3

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

Preview Lab → · Contrast checker → · Palette generator →

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