#A281F7#A281F7

#A281F7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.170 H 294.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A281F7
RGBrgb(162, 129, 247)
HSLhsl(257, 88%, 74%)
HSVhsv(257, 48%, 97%)
CMYKcmyk(34.4%, 47.8%, 0%, 3.1%)
CIE-LABlab(61.74, 38.16, -54.84)
CIE-LCHlch(61.74, 66.81, 304.83°)
OKLaboklab(68.57% 0.0701 -0.1547)
OKLCHoklch(68.57% 0.17 294.4)
XYZxyz(39.5347, 30.0966, 91.7039)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281F7 #D6F781
analogous
#819BF7 #A281F7 #DD81F7
triadic
#A281F7 #F7A281 #81F7A2
tetradic
#A281F7 #F7819B #D6F781 #81F7DD
square
#A281F7 #F7819B #D6F781 #81F7DD
split-complementary
#A281F7 #F7DD81 #9BF781
monochromatic
#4E0FEE #7847F3 #A281F7 #CCBBFB #EAE2FD

Accessibility & contrast

On white

2.99
#A281F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A281F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281F7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281F7#FFFFFF#000000##000000
##A281F71.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#8E98B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a281f7;
/* rgb */ color: rgb(162, 129, 247);
/* oklch */ color: oklch(68.6% 0.170 294.4);
Tailwind
colors: {
  custom: {
    50: '#c1a6fa',
    500: '#a281f7',
    950: '#000000',
  },
}
SCSS
$custom: #a281f7;
$custom-light: #c1a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a281f7",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 256.78,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68568,
    "c": 0.16987,
    "h": 294.4
  },
  "luminance": 0.30097
}

Semantic roles & 50–950 ramp

primary
#A281F7
secondary
#ECF5D6
accent
#E501A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A281F7

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

Preview Lab → · Contrast checker → · Palette generator →

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