#A282EF#A282EF

#A282EF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.3% C 0.158 H 295.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A282EF
RGBrgb(162, 130, 239)
HSLhsl(258, 77%, 72%)
HSVhsv(258, 46%, 94%)
CMYKcmyk(32.2%, 45.6%, 0%, 6.3%)
CIE-LABlab(61.55, 35.56, -50.73)
CIE-LCHlch(61.55, 61.95, 305.03°)
OKLaboklab(68.29% 0.0679 -0.1427)
OKLCHoklch(68.29% 0.158 295.4)
XYZxyz(38.4590, 29.8780, 85.3854)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282EF #CFEF82
analogous
#8298EF #A282EF #D982EF
triadic
#A282EF #EFA282 #82EFA2
tetradic
#A282EF #EF8298 #CFEF82 #82EFD9
square
#A282EF #EF8298 #CFEF82 #82EFD9
split-complementary
#A282EF #EFD982 #98EF82
monochromatic
#541CDB #7A4CE8 #A282EF #CAB8F6 #EBE4FC

Accessibility & contrast

On white

3.01
#A282EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A282EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A282EF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282EF#FFFFFF#000000##000000
##A282EF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#9196AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a282ef;
/* rgb */ color: rgb(162, 130, 239);
/* oklch */ color: oklch(68.3% 0.158 295.4);
Tailwind
colors: {
  custom: {
    50: '#c0a7f5',
    500: '#a282ef',
    950: '#000000',
  },
}
SCSS
$custom: #a282ef;
$custom-light: #c0a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a282ef",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 257.615,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68291,
    "c": 0.15802,
    "h": 295.4
  },
  "luminance": 0.29879
}

Semantic roles & 50–950 ramp

primary
#A282EF
secondary
#EBF3D8
accent
#DA0C9D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A282EF

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

Preview Lab → · Contrast checker → · Palette generator →

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