#A282FE#A282FE

#A282FE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.1% C 0.177 H 293.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A282FE
RGBrgb(162, 130, 254)
HSLhsl(255, 98%, 75%)
HSVhsv(255, 49%, 100%)
CMYKcmyk(36.2%, 48.8%, 0%, 0.4%)
CIE-LABlab(62.34, 39.40, -57.73)
CIE-LCHlch(62.34, 69.90, 304.31°)
OKLaboklab(69.14% 0.0695 -0.1632)
OKLCHoklch(69.14% 0.177 293.1)
XYZxyz(40.7676, 30.8015, 97.5441)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282FE #DEFE82
analogous
#82A0FE #A282FE #E082FE
triadic
#A282FE #FEA282 #82FEA2
tetradic
#A282FE #FE82A0 #DEFE82 #82FEE0
square
#A282FE #FE82A0 #DEFE82 #82FEE0
split-complementary
#A282FE #FEE082 #A0FE82
monochromatic
#4809FD #7545FE #A282FE #CFBFFE #E8E1FF

Accessibility & contrast

On white

2.93
#A282FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A282FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282FE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282FE#FFFFFF#000000##000000
##A282FE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#5994FB
Tritanopia (blue-blind)
#8B9BB4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a282fe;
/* rgb */ color: rgb(162, 130, 254);
/* oklch */ color: oklch(69.1% 0.177 293.1);
Tailwind
colors: {
  custom: {
    50: '#c1a7ff',
    500: '#a282fe',
    950: '#000000',
  },
}
SCSS
$custom: #a282fe;
$custom-light: #c1a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a282fe",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 255.484,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.17738,
    "h": 293.1
  },
  "luminance": 0.30802
}

Semantic roles & 50–950 ramp

primary
#A282FE
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A282FE

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

Preview Lab → · Contrast checker → · Palette generator →

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