#A278F8#A278F8

#A278F8 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.184 H 296.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A278F8
RGBrgb(162, 120, 248)
HSLhsl(260, 90%, 72%)
HSVhsv(260, 52%, 97%)
CMYKcmyk(34.7%, 51.6%, 0%, 2.7%)
CIE-LABlab(59.79, 43.45, -58.50)
CIE-LCHlch(59.79, 72.87, 306.60°)
OKLaboklab(67.13% 0.0815 -0.1655)
OKLCHoklch(67.13% 0.184 296.2)
XYZxyz(38.5558, 27.8910, 92.1409)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278F8 #CEF878
analogous
#788EF8 #A278F8 #E278F8
triadic
#A278F8 #F8A278 #78F8A2
tetradic
#A278F8 #F8788E #CEF878 #78F8E2
square
#A278F8 #F8788E #CEF878 #78F8E2
split-complementary
#A278F8 #F8E278 #8EF878
monochromatic
#550CE9 #7A3EF5 #A278F8 #CAB2FB #EBE2FD

Accessibility & contrast

On white

3.19
#A278F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A278F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278F8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278F8#FFFFFF#000000##000000
##A278F81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#8E91AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a278f8;
/* rgb */ color: rgb(162, 120, 248);
/* oklch */ color: oklch(67.1% 0.184 296.2);
Tailwind
colors: {
  custom: {
    50: '#c1a0fb',
    500: '#a278f8',
    950: '#000000',
  },
}
SCSS
$custom: #a278f8;
$custom-light: #c1a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a278f8",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 259.688,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67133,
    "c": 0.18442,
    "h": 296.2
  },
  "luminance": 0.27892
}

Semantic roles & 50–950 ramp

primary
#A278F8
secondary
#EBF6D5
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A278F8

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

Preview Lab → · Contrast checker → · Palette generator →

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