#A278FA#A278FA

#A278FA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.187 H 295.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A278FA
RGBrgb(162, 120, 250)
HSLhsl(259, 93%, 73%)
HSVhsv(259, 52%, 98%)
CMYKcmyk(35.2%, 52%, 0%, 2%)
CIE-LABlab(59.90, 43.96, -59.42)
CIE-LCHlch(59.90, 73.92, 306.49°)
OKLaboklab(67.25% 0.0816 -0.1681)
OKLCHoklch(67.25% 0.187 295.9)
XYZxyz(38.8677, 28.0158, 93.7838)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278FA #D0FA78
analogous
#788FFA #A278FA #E378FA
triadic
#A278FA #FAA278 #78FAA2
tetradic
#A278FA #FA788F #D0FA78 #78FAE3
square
#A278FA #FA788F #D0FA78 #78FAE3
split-complementary
#A278FA #FAE378 #8FFA78
monochromatic
#5309EF #793DF8 #A278FA #CBB3FC #EBE1FE

Accessibility & contrast

On white

3.18
#A278FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A278FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278FA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278FA#FFFFFF#000000##000000
##A278FA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#4E8FF7
Tritanopia (blue-blind)
#8D92AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a278fa;
/* rgb */ color: rgb(162, 120, 250);
/* oklch */ color: oklch(67.3% 0.187 295.9);
Tailwind
colors: {
  custom: {
    50: '#c2a0fd',
    500: '#a278fa',
    950: '#000000',
  },
}
SCSS
$custom: #a278fa;
$custom-light: #c2a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a278fa",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 259.385,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67253,
    "c": 0.18689,
    "h": 295.9
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#A278FA
secondary
#EBF6D5
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A278FA

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

Preview Lab → · Contrast checker → · Palette generator →

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