#A278DB#A278DB

#A278DB is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.5% C 0.148 H 302.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A278DB
RGBrgb(162, 120, 219)
HSLhsl(265, 58%, 66%)
HSVhsv(265, 45%, 86%)
CMYKcmyk(26%, 45.2%, 0%, 14.1%)
CIE-LABlab(58.25, 36.26, -44.80)
CIE-LCHlch(58.25, 57.64, 308.99°)
OKLaboklab(65.49% 0.0785 -0.1254)
OKLCHoklch(65.49% 0.148 302.1)
XYZxyz(34.4001, 26.2288, 70.2545)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278DB #B1DB78
analogous
#7880DB #A278DB #D478DB
triadic
#A278DB #DBA278 #78DBA2
tetradic
#A278DB #DB7880 #B1DB78 #78DBD4
square
#A278DB #DB7880 #B1DB78 #78DBD4
split-complementary
#A278DB #DBD478 #80DB78
monochromatic
#632EAB #8148CE #A278DB #C3A8E8 #E5D9F5

Accessibility & contrast

On white

3.36
#A278DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A278DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278DB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278DB#FFFFFF#000000##000000
##A278DB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#668CD8
Tritanopia (blue-blind)
#98899F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a278db;
/* rgb */ color: rgb(162, 120, 219);
/* oklch */ color: oklch(65.5% 0.148 302.1);
Tailwind
colors: {
  custom: {
    50: '#c0a0e6',
    500: '#a278db',
    950: '#000000',
  },
}
SCSS
$custom: #a278db;
$custom-light: #c0a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a278db",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 265.455,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65488,
    "c": 0.14797,
    "h": 302.1
  },
  "luminance": 0.26229
}

Semantic roles & 50–950 ramp

primary
#A278DB
secondary
#DAE7C7
accent
#C5207F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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