#A282EA#A282EA

#A282EA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.0% C 0.152 H 296.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A282EA
RGBrgb(162, 130, 234)
HSLhsl(258, 71%, 71%)
HSVhsv(258, 44%, 92%)
CMYKcmyk(30.8%, 44.4%, 0%, 8.2%)
CIE-LABlab(61.30, 34.30, -48.36)
CIE-LCHlch(61.30, 59.29, 305.35°)
OKLaboklab(68.02% 0.0672 -0.1358)
OKLCHoklch(68.02% 0.152 296.3)
XYZxyz(37.7306, 29.5867, 81.5489)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282EA #CAEA82
analogous
#8296EA #A282EA #D682EA
triadic
#A282EA #EAA282 #82EAA2
tetradic
#A282EA #EA8296 #CAEA82 #82EAD6
square
#A282EA #EA8296 #CAEA82 #82EAD6
split-complementary
#A282EA #EAD682 #96EA82
monochromatic
#5823CF #7B4EE1 #A282EA #C9B6F3 #ECE5FB

Accessibility & contrast

On white

3.04
#A282EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A282EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A282EA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282EA#FFFFFF#000000##000000
##A282EA1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#9295AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a282ea;
/* rgb */ color: rgb(162, 130, 234);
/* oklch */ color: oklch(68.0% 0.152 296.3);
Tailwind
colors: {
  custom: {
    50: '#c0a7f1',
    500: '#a282ea',
    950: '#000000',
  },
}
SCSS
$custom: #a282ea;
$custom-light: #c0a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a282ea",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 258.462,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68018,
    "c": 0.15151,
    "h": 296.3
  },
  "luminance": 0.29587
}

Semantic roles & 50–950 ramp

primary
#A282EA
secondary
#E9F1D6
accent
#D31298
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A282EA

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

Preview Lab → · Contrast checker → · Palette generator →

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