#A28BC2#A28BC2

#A28BC2 is a light, moderate violet. Relative luminance 0.300; OKLCH L 67.7% C 0.083 H 303.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A28BC2
RGBrgb(162, 139, 194)
HSLhsl(265, 31%, 65%)
HSVhsv(265, 28%, 76%)
CMYKcmyk(16.5%, 28.4%, 0%, 23.9%)
CIE-LABlab(61.69, 19.61, -25.37)
CIE-LCHlch(61.69, 32.07, 307.69°)
OKLaboklab(67.74% 0.0459 -0.0696)
OKLCHoklch(67.74% 0.083 303.4)
XYZxyz(33.8686, 30.0417, 55.0428)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BC2 #ABC28B
analogous
#8B8FC2 #A28BC2 #BD8BC2
triadic
#A28BC2 #C2A28B #8BC2A2
tetradic
#A28BC2 #C28B8F #ABC28B #8BC2BD
square
#A28BC2 #C28B8F #ABC28B #8BC2BD
split-complementary
#A28BC2 #C2BD8B #8FC28B
monochromatic
#64498A #8263AD #A28BC2 #C2B3D7 #E2DBEC

Accessibility & contrast

On white

3.00
#A28BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#A28BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BC2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BC2#FFFFFF#000000##000000
##A28BC21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C4
Deuteranopia (green-blind)
#8495C0
Tritanopia (blue-blind)
#9D939E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a28bc2;
/* rgb */ color: rgb(162, 139, 194);
/* oklch */ color: oklch(67.7% 0.083 303.4);
Tailwind
colors: {
  custom: {
    50: '#beadd4',
    500: '#a28bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a28bc2;
$custom-light: #beadd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bc2",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 265.091,
    "s": 31.073,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67737,
    "c": 0.08338,
    "h": 303.4
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#A28BC2
secondary
#D6DECB
accent
#AA3C7C
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A28BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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