#A278F7#A278F7

#A278F7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.183 H 296.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A278F7
RGBrgb(162, 120, 247)
HSLhsl(260, 89%, 72%)
HSVhsv(260, 51%, 97%)
CMYKcmyk(34.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(59.73, 43.19, -58.04)
CIE-LCHlch(59.73, 72.35, 306.66°)
OKLaboklab(67.07% 0.0814 -0.1641)
OKLCHoklch(67.07% 0.183 296.4)
XYZxyz(38.4010, 27.8291, 91.3260)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278F7 #CDF778
analogous
#788DF7 #A278F7 #E278F7
triadic
#A278F7 #F7A278 #78F7A2
tetradic
#A278F7 #F7788D #CDF778 #78F7E2
square
#A278F7 #F7788D #CDF778 #78F7E2
split-complementary
#A278F7 #F7E278 #8DF778
monochromatic
#560EE7 #7A3EF4 #A278F7 #CAB2FA #EBE2FD

Accessibility & contrast

On white

3.20
#A278F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A278F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278F7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278F7#FFFFFF#000000##000000
##A278F71.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#8F91AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a278f7;
/* rgb */ color: rgb(162, 120, 247);
/* oklch */ color: oklch(67.1% 0.183 296.4);
Tailwind
colors: {
  custom: {
    50: '#c1a0fa',
    500: '#a278f7',
    950: '#000000',
  },
}
SCSS
$custom: #a278f7;
$custom-light: #c1a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a278f7",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 259.843,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67073,
    "c": 0.18317,
    "h": 296.4
  },
  "luminance": 0.2783
}

Semantic roles & 50–950 ramp

primary
#A278F7
secondary
#EBF5D5
accent
#E5009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A278F7

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

Preview Lab → · Contrast checker → · Palette generator →

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