#A281FC#A281FC

#A281FC is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.176 H 293.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A281FC
RGBrgb(162, 129, 252)
HSLhsl(256, 95%, 75%)
HSVhsv(256, 49%, 99%)
CMYKcmyk(35.7%, 48.8%, 0%, 1.2%)
CIE-LABlab(62.01, 39.45, -57.17)
CIE-LCHlch(62.01, 69.46, 304.61°)
OKLaboklab(68.86% 0.0706 -0.1615)
OKLCHoklch(68.86% 0.176 293.6)
XYZxyz(40.3167, 30.4093, 95.8220)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281FC #DBFC81
analogous
#819DFC #A281FC #E081FC
triadic
#A281FC #FCA281 #81FCA2
tetradic
#A281FC #FC819D #DBFC81 #81FCE0
square
#A281FC #FC819D #DBFC81 #81FCE0
split-complementary
#A281FC #FCE081 #9DFC81
monochromatic
#4A09F9 #7645FB #A281FC #CEBDFD #E9E1FE

Accessibility & contrast

On white

2.97
#A281FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A281FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281FC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281FC#FFFFFF#000000##000000
##A281FC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#8C99B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a281fc;
/* rgb */ color: rgb(162, 129, 252);
/* oklch */ color: oklch(68.9% 0.176 293.6);
Tailwind
colors: {
  custom: {
    50: '#c1a6fe',
    500: '#a281fc',
    950: '#000000',
  },
}
SCSS
$custom: #a281fc;
$custom-light: #c1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a281fc",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 256.098,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.17628,
    "h": 293.6
  },
  "luminance": 0.3041
}

Semantic roles & 50–950 ramp

primary
#A281FC
secondary
#EDF7D4
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A281FC

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

Preview Lab → · Contrast checker → · Palette generator →

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