#A281F8#A281F8

#A281F8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.171 H 294.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A281F8
RGBrgb(162, 129, 248)
HSLhsl(257, 89%, 74%)
HSVhsv(257, 48%, 97%)
CMYKcmyk(34.7%, 48%, 0%, 2.7%)
CIE-LABlab(61.79, 38.42, -55.31)
CIE-LCHlch(61.79, 67.34, 304.78°)
OKLaboklab(68.63% 0.0702 -0.1561)
OKLCHoklch(68.63% 0.171 294.2)
XYZxyz(39.6895, 30.1584, 92.5188)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281F8 #D7F881
analogous
#819CF8 #A281F8 #DE81F8
triadic
#A281F8 #F8A281 #81F8A2
tetradic
#A281F8 #F8819C #D7F881 #81F8DE
square
#A281F8 #F8819C #D7F881 #81F8DE
split-complementary
#A281F8 #F8DE81 #9CF881
monochromatic
#4D0DF1 #7747F5 #A281F8 #CDBBFB #EAE2FD

Accessibility & contrast

On white

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

On black

7.03
#A281F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281F8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281F8#FFFFFF#000000##000000
##A281F81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#8E98B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a281f8;
/* rgb */ color: rgb(162, 129, 248);
/* oklch */ color: oklch(68.6% 0.171 294.2);
Tailwind
colors: {
  custom: {
    50: '#c1a6fb',
    500: '#a281f8',
    950: '#000000',
  },
}
SCSS
$custom: #a281f8;
$custom-light: #c1a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a281f8",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 256.639,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.17115,
    "h": 294.2
  },
  "luminance": 0.30159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A281F8

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

Preview Lab → · Contrast checker → · Palette generator →

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