#A28BB2#A28BB2

#A28BB2 is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.1% C 0.062 H 311.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A28BB2
RGBrgb(162, 139, 178)
HSLhsl(275, 20%, 62%)
HSVhsv(275, 22%, 70%)
CMYKcmyk(9%, 21.9%, 0%, 30.2%)
CIE-LABlab(61.10, 16.12, -17.23)
CIE-LCHlch(61.10, 23.59, 313.09°)
OKLaboklab(67.09% 0.041 -0.0467)
OKLCHoklch(67.09% 0.062 311.2)
XYZxyz(32.1674, 29.3613, 46.0835)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BB2 #9BB28B
analogous
#8F8BB2 #A28BB2 #B28BAE
triadic
#A28BB2 #B2A28B #8BB2A2
tetradic
#A28BB2 #B28F8B #9BB28B #8BAEB2
square
#A28BB2 #B28F8B #9BB28B #8BAEB2
split-complementary
#A28BB2 #AEB28B #8BB28F
monochromatic
#654E75 #85669A #A28BB2 #BFB0CA #DDD5E3

Accessibility & contrast

On white

3.06
#A28BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A28BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28BB2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BB2#FFFFFF#000000##000000
##A28BB21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B4
Deuteranopia (green-blind)
#8A94B1
Tritanopia (blue-blind)
#A19098
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a28bb2;
/* rgb */ color: rgb(162, 139, 178);
/* oklch */ color: oklch(67.1% 0.062 311.2);
Tailwind
colors: {
  custom: {
    50: '#bdadc9',
    500: '#a28bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a28bb2;
$custom-light: #bdadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bb2",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 275.385,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.06215,
    "h": 311.2
  },
  "luminance": 0.29361
}

Semantic roles & 50–950 ramp

primary
#A28BB2
secondary
#CBD4C5
accent
#9F476B
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #A28BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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