#A282EB#A282EB

#A282EB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.153 H 296.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A282EB
RGBrgb(162, 130, 235)
HSLhsl(258, 72%, 72%)
HSVhsv(258, 45%, 92%)
CMYKcmyk(31.1%, 44.7%, 0%, 7.8%)
CIE-LABlab(61.35, 34.55, -48.83)
CIE-LCHlch(61.35, 59.82, 305.28°)
OKLaboklab(68.07% 0.0673 -0.1372)
OKLCHoklch(68.07% 0.153 296.1)
XYZxyz(37.8746, 29.6443, 82.3076)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282EB #CBEB82
analogous
#8297EB #A282EB #D782EB
triadic
#A282EB #EBA282 #82EBA2
tetradic
#A282EB #EB8297 #CBEB82 #82EBD7
square
#A282EB #EB8297 #CBEB82 #82EBD7
split-complementary
#A282EB #EBD782 #97EB82
monochromatic
#5721D1 #7B4DE3 #A282EB #C9B7F3 #EBE5FB

Accessibility & contrast

On white

3.03
#A282EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A282EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A282EB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282EB#FFFFFF#000000##000000
##A282EB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#9295AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a282eb;
/* rgb */ color: rgb(162, 130, 235);
/* oklch */ color: oklch(68.1% 0.153 296.1);
Tailwind
colors: {
  custom: {
    50: '#c0a7f2',
    500: '#a282eb',
    950: '#000000',
  },
}
SCSS
$custom: #a282eb;
$custom-light: #c0a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a282eb",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 258.286,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68072,
    "c": 0.15282,
    "h": 296.1
  },
  "luminance": 0.29645
}

Semantic roles & 50–950 ramp

primary
#A282EB
secondary
#EAF2D7
accent
#D41199
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A282EB

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

Preview Lab → · Contrast checker → · Palette generator →

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