#A282FA#A282FA

#A282FA is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.172 H 293.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A282FA
RGBrgb(162, 130, 250)
HSLhsl(256, 92%, 75%)
HSVhsv(256, 48%, 98%)
CMYKcmyk(35.2%, 48%, 0%, 2%)
CIE-LABlab(62.12, 38.37, -55.88)
CIE-LCHlch(62.12, 67.78, 304.48°)
OKLaboklab(68.91% 0.0691 -0.1578)
OKLCHoklch(68.91% 0.172 293.7)
XYZxyz(40.1338, 30.5480, 94.2058)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282FA #DAFA82
analogous
#829EFA #A282FA #DE82FA
triadic
#A282FA #FAA282 #82FAA2
tetradic
#A282FA #FA829E #DAFA82 #82FADE
square
#A282FA #FA829E #DAFA82 #82FADE
split-complementary
#A282FA #FADE82 #9EFA82
monochromatic
#4A0CF5 #7647F8 #A282FA #CEBDFC #E9E2FE

Accessibility & contrast

On white

2.95
#A282FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A282FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282FA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282FA#FFFFFF#000000##000000
##A282FA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#8D99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a282fa;
/* rgb */ color: rgb(162, 130, 250);
/* oklch */ color: oklch(68.9% 0.172 293.7);
Tailwind
colors: {
  custom: {
    50: '#c1a7fc',
    500: '#a282fa',
    950: '#000000',
  },
}
SCSS
$custom: #a282fa;
$custom-light: #c1a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a282fa",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 256,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68909,
    "c": 0.17225,
    "h": 293.7
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

primary
#A282FA
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A282FA

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

Preview Lab → · Contrast checker → · Palette generator →

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