#A278FD#A278FD

#A278FD is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.191 H 295.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A278FD
RGBrgb(162, 120, 253)
HSLhsl(259, 97%, 73%)
HSVhsv(259, 53%, 99%)
CMYKcmyk(36%, 52.6%, 0%, 0.8%)
CIE-LABlab(60.07, 44.72, -60.80)
CIE-LCHlch(60.07, 75.48, 306.34°)
OKLaboklab(67.44% 0.0817 -0.1722)
OKLCHoklch(67.44% 0.191 295.4)
XYZxyz(39.3418, 28.2055, 96.2809)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278FD #D3FD78
analogous
#7890FD #A278FD #E478FD
triadic
#A278FD #FDA278 #78FDA2
tetradic
#A278FD #FD7890 #D3FD78 #78FDE4
square
#A278FD #FD7890 #D3FD78 #78FDE4
split-complementary
#A278FD #FDE478 #90FD78
monochromatic
#5004F7 #783CFC #A278FD #CCB4FE #EAE1FF

Accessibility & contrast

On white

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

On black

6.64
#A278FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278FD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278FD#FFFFFF#000000##000000
##A278FD1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#4B8FFA
Tritanopia (blue-blind)
#8C93AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a278fd;
/* rgb */ color: rgb(162, 120, 253);
/* oklch */ color: oklch(67.4% 0.191 295.4);
Tailwind
colors: {
  custom: {
    50: '#c2a0ff',
    500: '#a278fd',
    950: '#000000',
  },
}
SCSS
$custom: #a278fd;
$custom-light: #c2a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a278fd",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 258.947,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67435,
    "c": 0.19062,
    "h": 295.4
  },
  "luminance": 0.28206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A278FD

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

Preview Lab → · Contrast checker → · Palette generator →

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