#A284EA#A284EA

#A284EA is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.4% C 0.148 H 295.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A284EA
RGBrgb(162, 132, 234)
HSLhsl(258, 71%, 72%)
HSVhsv(258, 44%, 92%)
CMYKcmyk(30.8%, 43.6%, 0%, 8.2%)
CIE-LABlab(61.76, 33.16, -47.62)
CIE-LCHlch(61.76, 58.03, 304.85°)
OKLaboklab(68.37% 0.0645 -0.1336)
OKLCHoklch(68.37% 0.148 295.8)
XYZxyz(37.9992, 30.1239, 81.6385)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A284EA #CCEA84
analogous
#8499EA #A284EA #D584EA
triadic
#A284EA #EAA284 #84EAA2
tetradic
#A284EA #EA8499 #CCEA84 #84EAD5
square
#A284EA #EA8499 #CCEA84 #84EAD5
split-complementary
#A284EA #EAD584 #99EA84
monochromatic
#5624D0 #7A50E1 #A284EA #CAB8F3 #EBE5FB

Accessibility & contrast

On white

2.99
#A284EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A284EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A284EA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A284EA#FFFFFF#000000##000000
##A284EA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#9297AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a284ea;
/* rgb */ color: rgb(162, 132, 234);
/* oklch */ color: oklch(68.4% 0.148 295.8);
Tailwind
colors: {
  custom: {
    50: '#c0a8f1',
    500: '#a284ea',
    950: '#000000',
  },
}
SCSS
$custom: #a284ea;
$custom-light: #c0a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a284ea",
  "rgb": {
    "r": 162,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 257.647,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68369,
    "c": 0.14842,
    "h": 295.8
  },
  "luminance": 0.30124
}

Semantic roles & 50–950 ramp

primary
#A284EA
secondary
#EAF2D8
accent
#D3139A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A284EA

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

Preview Lab → · Contrast checker → · Palette generator →

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