#A278FE#A278FE

#A278FE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.192 H 295.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A278FE
RGBrgb(162, 120, 254)
HSLhsl(259, 99%, 73%)
HSVhsv(259, 53%, 100%)
CMYKcmyk(36.2%, 52.8%, 0%, 0.4%)
CIE-LABlab(60.13, 44.98, -61.26)
CIE-LCHlch(60.13, 76.00, 306.29°)
OKLaboklab(67.5% 0.0818 -0.1735)
OKLCHoklch(67.5% 0.192 295.2)
XYZxyz(39.5015, 28.2693, 97.1221)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278FE #D4FE78
analogous
#7891FE #A278FE #E578FE
triadic
#A278FE #FEA278 #78FEA2
tetradic
#A278FE #FE7891 #D4FE78 #78FEE5
square
#A278FE #FE7891 #D4FE78 #78FEE5
split-complementary
#A278FE #FEE578 #91FE78
monochromatic
#5002FA #783BFE #A278FE #CCB5FE #EAE1FF

Accessibility & contrast

On white

3.16
#A278FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A278FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278FE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278FE#FFFFFF#000000##000000
##A278FE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#8C93B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a278fe;
/* rgb */ color: rgb(162, 120, 254);
/* oklch */ color: oklch(67.5% 0.192 295.2);
Tailwind
colors: {
  custom: {
    50: '#c2a0ff',
    500: '#a278fe',
    950: '#000000',
  },
}
SCSS
$custom: #a278fe;
$custom-light: #c2a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a278fe",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 258.806,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67496,
    "c": 0.19184,
    "h": 295.2
  },
  "luminance": 0.2827
}

Semantic roles & 50–950 ramp

primary
#A278FE
secondary
#ECF7D4
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A278FE

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

Preview Lab → · Contrast checker → · Palette generator →

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