#A282FB#A282FB

#A282FB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.174 H 293.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A282FB
RGBrgb(162, 130, 251)
HSLhsl(256, 94%, 75%)
HSVhsv(256, 48%, 98%)
CMYKcmyk(35.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(62.18, 38.63, -56.34)
CIE-LCHlch(62.18, 68.31, 304.43°)
OKLaboklab(68.97% 0.0692 -0.1591)
OKLCHoklch(68.97% 0.174 293.5)
XYZxyz(40.2910, 30.6108, 95.0338)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282FB #DBFB82
analogous
#829FFB #A282FB #DF82FB
triadic
#A282FB #FBA282 #82FBA2
tetradic
#A282FB #FB829F #DBFB82 #82FBDF
square
#A282FB #FB829F #DBFB82 #82FBDF
split-complementary
#A282FB #FBDF82 #9FFB82
monochromatic
#4A0BF7 #7647F9 #A282FB #CEBDFD #E9E1FE

Accessibility & contrast

On white

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

On black

7.12
#A282FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282FB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282FB#FFFFFF#000000##000000
##A282FB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#8C9AB3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a282fb;
/* rgb */ color: rgb(162, 130, 251);
/* oklch */ color: oklch(69.0% 0.174 293.5);
Tailwind
colors: {
  custom: {
    50: '#c1a7fd',
    500: '#a282fb',
    950: '#000000',
  },
}
SCSS
$custom: #a282fb;
$custom-light: #c1a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a282fb",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 255.868,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68967,
    "c": 0.17353,
    "h": 293.5
  },
  "luminance": 0.30612
}

Semantic roles & 50–950 ramp

primary
#A282FB
secondary
#EDF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A282FB

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

Preview Lab → · Contrast checker → · Palette generator →

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