#A282DC#A282DC

#A282DC is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.3% C 0.133 H 299.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A282DC
RGBrgb(162, 130, 220)
HSLhsl(261, 56%, 69%)
HSVhsv(261, 41%, 86%)
CMYKcmyk(26.4%, 40.9%, 0%, 13.7%)
CIE-LABlab(60.62, 30.84, -41.64)
CIE-LCHlch(60.62, 51.81, 306.53°)
OKLaboklab(67.28% 0.0649 -0.1162)
OKLCHoklch(67.28% 0.133 299.2)
XYZxyz(35.7982, 28.8137, 71.3719)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282DC #BCDC82
analogous
#828FDC #A282DC #CF82DC
triadic
#A282DC #DCA282 #82DCA2
tetradic
#A282DC #DC828F #BCDC82 #82DCCF
square
#A282DC #DC828F #BCDC82 #82DCCF
split-complementary
#A282DC #DCCF82 #8FDC82
monochromatic
#5F32B2 #7E52CF #A282DC #C6B2E9 #E9E2F7

Accessibility & contrast

On white

3.11
#A282DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A282DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A282DC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282DC#FFFFFF#000000##000000
##A282DC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#7091DA
Tritanopia (blue-blind)
#9791A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a282dc;
/* rgb */ color: rgb(162, 130, 220);
/* oklch */ color: oklch(67.3% 0.133 299.2);
Tailwind
colors: {
  custom: {
    50: '#bfa6e7',
    500: '#a282dc',
    950: '#000000',
  },
}
SCSS
$custom: #a282dc;
$custom-light: #bfa6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a282dc",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 261.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67284,
    "c": 0.13315,
    "h": 299.2
  },
  "luminance": 0.28814
}

Semantic roles & 50–950 ramp

primary
#A282DC
secondary
#E1EACF
accent
#C4228A
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A282DC

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

Preview Lab → · Contrast checker → · Palette generator →

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