#A278CD#A278CD

#A278CD is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.8% C 0.130 H 305.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A278CD
RGBrgb(162, 120, 205)
HSLhsl(270, 46%, 64%)
HSVhsv(270, 41%, 80%)
CMYKcmyk(21%, 41.5%, 0%, 19.6%)
CIE-LABlab(57.58, 32.96, -37.97)
CIE-LCHlch(57.58, 50.28, 310.96°)
OKLaboklab(64.76% 0.0763 -0.1056)
OKLCHoklch(64.76% 0.13 305.8)
XYZxyz(32.6340, 25.5223, 60.9529)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A278CD #A3CD78
analogous
#7878CD #A278CD #CC78CD
triadic
#A278CD #CDA278 #78CDA2
tetradic
#A278CD #CD7878 #A3CD78 #78CDCC
square
#A278CD #CD7878 #A3CD78 #78CDCC
split-complementary
#A278CD #CDCC78 #78CD78
monochromatic
#653794 #834BBC #A278CD #C1A5DE #E0D1EE

Accessibility & contrast

On white

3.44
#A278CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A278CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A278CD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A278CD#FFFFFF#000000##000000
##A278CD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#9B8699
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a278cd;
/* rgb */ color: rgb(162, 120, 205);
/* oklch */ color: oklch(64.8% 0.130 305.8);
Tailwind
colors: {
  custom: {
    50: '#bf9fdc',
    500: '#a278cd',
    950: '#000000',
  },
}
SCSS
$custom: #a278cd;
$custom-light: #bf9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a278cd",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 269.647,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64762,
    "c": 0.13026,
    "h": 305.8
  },
  "luminance": 0.25522
}

Semantic roles & 50–950 ramp

primary
#A278CD
secondary
#D1DFC1
accent
#B92C74
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A278CD

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

Preview Lab → · Contrast checker → · Palette generator →

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