#A28FC2#A28FC2

#A28FC2 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.5% C 0.077 H 301.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A28FC2
RGBrgb(162, 143, 194)
HSLhsl(262, 29%, 66%)
HSVhsv(262, 26%, 76%)
CMYKcmyk(16.5%, 26.3%, 0%, 23.9%)
CIE-LABlab(62.69, 17.33, -23.83)
CIE-LCHlch(62.69, 29.46, 306.02°)
OKLaboklab(68.51% 0.04 -0.0653)
OKLCHoklch(68.51% 0.077 301.5)
XYZxyz(34.4584, 31.2213, 55.2394)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FC2 #AFC28F
analogous
#8F95C2 #A28FC2 #BB8FC2
triadic
#A28FC2 #C2A28F #8FC2A2
tetradic
#A28FC2 #C28F95 #AFC28F #8FC2BB
square
#A28FC2 #C28F95 #AFC28F #8FC2BB
split-complementary
#A28FC2 #C2BB8F #95C28F
monochromatic
#634C8B #8167AC #A28FC2 #C3B7D8 #E4DEED

Accessibility & contrast

On white

2.90
#A28FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A28FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FC2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FC2#FFFFFF#000000##000000
##A28FC21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8597C4
Deuteranopia (green-blind)
#8897C1
Tritanopia (blue-blind)
#9D96A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28fc2;
/* rgb */ color: rgb(162, 143, 194);
/* oklch */ color: oklch(68.5% 0.077 301.5);
Tailwind
colors: {
  custom: {
    50: '#beafd4',
    500: '#a28fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a28fc2;
$custom-light: #beafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fc2",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 262.353,
    "s": 29.48,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68509,
    "c": 0.07654,
    "h": 301.5
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

primary
#A28FC2
secondary
#D9DFCE
accent
#A83D80
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A28FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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