#A278FC#A278FC

#A278FC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.189 H 295.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A278FC
RGBrgb(162, 120, 252)
HSLhsl(259, 96%, 73%)
HSVhsv(259, 52%, 99%)
CMYKcmyk(35.7%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.02, 44.47, -60.34)
CIE-LCHlch(60.02, 74.96, 306.39°)
OKLaboklab(67.37% 0.0817 -0.1708)
OKLCHoklch(67.37% 0.189 295.6)
XYZxyz(39.1830, 28.1419, 95.4441)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278FC #D2FC78
analogous
#7890FC #A278FC #E478FC
triadic
#A278FC #FCA278 #78FCA2
tetradic
#A278FC #FC7890 #D2FC78 #78FCE4
square
#A278FC #FC7890 #D2FC78 #78FCE4
split-complementary
#A278FC #FCE478 #90FC78
monochromatic
#5105F4 #793CFB #A278FC #CBB4FD #EAE1FE

Accessibility & contrast

On white

3.17
#A278FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A278FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278FC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278FC#FFFFFF#000000##000000
##A278FC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#8D93AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a278fc;
/* rgb */ color: rgb(162, 120, 252);
/* oklch */ color: oklch(67.4% 0.189 295.6);
Tailwind
colors: {
  custom: {
    50: '#c2a0fe',
    500: '#a278fc',
    950: '#000000',
  },
}
SCSS
$custom: #a278fc;
$custom-light: #c2a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a278fc",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 259.091,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67374,
    "c": 0.18938,
    "h": 295.6
  },
  "luminance": 0.28143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A278FC

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

Preview Lab → · Contrast checker → · Palette generator →

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