#A281F9#A281F9

#A281F9 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.7% C 0.172 H 294.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A281F9
RGBrgb(162, 129, 249)
HSLhsl(257, 91%, 74%)
HSVhsv(257, 48%, 98%)
CMYKcmyk(34.9%, 48.2%, 0%, 2.4%)
CIE-LABlab(61.84, 38.67, -55.78)
CIE-LCHlch(61.84, 67.87, 304.74°)
OKLaboklab(68.68% 0.0703 -0.1575)
OKLCHoklch(68.68% 0.172 294.1)
XYZxyz(39.8450, 30.2207, 93.3381)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281F9 #D8F981
analogous
#819CF9 #A281F9 #DE81F9
triadic
#A281F9 #F9A281 #81F9A2
tetradic
#A281F9 #F9819C #D8F981 #81F9DE
square
#A281F9 #F9819C #D8F981 #81F9DE
split-complementary
#A281F9 #F9DE81 #9CF981
monochromatic
#4C0CF3 #7747F6 #A281F9 #CDBBFC #E9E2FE

Accessibility & contrast

On white

2.98
#A281F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A281F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281F9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281F9#FFFFFF#000000##000000
##A281F91.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#8D98B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a281f9;
/* rgb */ color: rgb(162, 129, 249);
/* oklch */ color: oklch(68.7% 0.172 294.1);
Tailwind
colors: {
  custom: {
    50: '#c1a6fc',
    500: '#a281f9',
    950: '#000000',
  },
}
SCSS
$custom: #a281f9;
$custom-light: #c1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a281f9",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 256.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68682,
    "c": 0.17244,
    "h": 294.1
  },
  "luminance": 0.30221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A281F9

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

Preview Lab → · Contrast checker → · Palette generator →

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