#A280F2#A280F2

#A280F2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.165 H 295.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A280F2
RGBrgb(162, 128, 242)
HSLhsl(258, 81%, 73%)
HSVhsv(258, 47%, 95%)
CMYKcmyk(33.1%, 47.1%, 0%, 5.1%)
CIE-LABlab(61.25, 37.45, -52.87)
CIE-LCHlch(61.25, 64.79, 305.31°)
OKLaboklab(68.11% 0.0708 -0.1489)
OKLCHoklch(68.11% 0.165 295.4)
XYZxyz(38.6424, 29.5299, 87.6511)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A280F2 #D0F280
analogous
#8097F2 #A280F2 #DB80F2
triadic
#A280F2 #F2A280 #80F2A2
tetradic
#A280F2 #F28097 #D0F280 #80F2DB
square
#A280F2 #F28097 #D0F280 #80F2DB
split-complementary
#A280F2 #F2DB80 #97F280
monochromatic
#5317E1 #7948EC #A280F2 #CBB8F8 #EBE3FC

Accessibility & contrast

On white

3.04
#A280F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A280F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A280F2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A280F2#FFFFFF#000000##000000
##A280F21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#9096AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a280f2;
/* rgb */ color: rgb(162, 128, 242);
/* oklch */ color: oklch(68.1% 0.165 295.4);
Tailwind
colors: {
  custom: {
    50: '#c1a5f7',
    500: '#a280f2',
    950: '#000000',
  },
}
SCSS
$custom: #a280f2;
$custom-light: #c1a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a280f2",
  "rgb": {
    "r": 162,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 257.895,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.16494,
    "h": 295.4
  },
  "luminance": 0.29531
}

Semantic roles & 50–950 ramp

primary
#A280F2
secondary
#EBF4D7
accent
#DE089E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A280F2

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

Preview Lab → · Contrast checker → · Palette generator →

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