#A284EB#A284EB

#A284EB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.4% C 0.150 H 295.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A284EB
RGBrgb(162, 132, 235)
HSLhsl(257, 72%, 72%)
HSVhsv(257, 44%, 92%)
CMYKcmyk(31.1%, 43.8%, 0%, 7.8%)
CIE-LABlab(61.81, 33.41, -48.10)
CIE-LCHlch(61.81, 58.57, 304.79°)
OKLaboklab(68.42% 0.0647 -0.135)
OKLCHoklch(68.42% 0.15 295.6)
XYZxyz(38.1432, 30.1815, 82.3972)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A284EB #CDEB84
analogous
#849AEB #A284EB #D684EB
triadic
#A284EB #EBA284 #84EBA2
tetradic
#A284EB #EB849A #CDEB84 #84EBD6
square
#A284EB #EB849A #CDEB84 #84EBD6
split-complementary
#A284EB #EBD684 #9AEB84
monochromatic
#5622D2 #7A4FE2 #A284EB #CAB9F4 #EBE5FB

Accessibility & contrast

On white

2.98
#A284EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A284EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A284EB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A284EB#FFFFFF#000000##000000
##A284EB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#9297AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a284eb;
/* rgb */ color: rgb(162, 132, 235);
/* oklch */ color: oklch(68.4% 0.150 295.6);
Tailwind
colors: {
  custom: {
    50: '#c0a8f2',
    500: '#a284eb',
    950: '#000000',
  },
}
SCSS
$custom: #a284eb;
$custom-light: #c0a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a284eb",
  "rgb": {
    "r": 162,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 257.476,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.14974,
    "h": 295.6
  },
  "luminance": 0.30182
}

Semantic roles & 50–950 ramp

primary
#A284EB
secondary
#EBF2D8
accent
#D4119B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A284EB

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

Preview Lab → · Contrast checker → · Palette generator →

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