#A278CA#A278CA

#A278CA is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.6% C 0.126 H 306.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A278CA
RGBrgb(162, 120, 202)
HSLhsl(271, 44%, 63%)
HSVhsv(271, 41%, 79%)
CMYKcmyk(19.8%, 40.6%, 0%, 20.8%)
CIE-LABlab(57.44, 32.27, -36.49)
CIE-LCHlch(57.44, 48.71, 311.49°)
OKLaboklab(64.61% 0.0757 -0.1013)
OKLCHoklch(64.61% 0.126 306.8)
XYZxyz(32.2753, 25.3789, 59.0640)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278CA #A0CA78
analogous
#7978CA #A278CA #CA78C9
triadic
#A278CA #CAA278 #78CAA2
tetradic
#A278CA #CA7978 #A0CA78 #78C9CA
square
#A278CA #CA7978 #A0CA78 #78C9CA
split-complementary
#A278CA #C9CA78 #78CA79
monochromatic
#65388F #844CB9 #A278CA #C0A4DB #DFD0ED

Accessibility & contrast

On white

3.46
#A278CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A278CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278CA#FFFFFF#000000##000000
##A278CA1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CD
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#9C8597
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a278ca;
/* rgb */ color: rgb(162, 120, 202);
/* oklch */ color: oklch(64.6% 0.126 306.8);
Tailwind
colors: {
  custom: {
    50: '#bf9fda',
    500: '#a278ca',
    950: '#000000',
  },
}
SCSS
$custom: #a278ca;
$custom-light: #bf9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a278ca",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 270.732,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.12647,
    "h": 306.8
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#A278CA
secondary
#CFDEC0
accent
#B72F71
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A278CA

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

Preview Lab → · Contrast checker → · Palette generator →

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