#A28BB7#A28BB7

#A28BB7 is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.3% C 0.069 H 308.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A28BB7
RGBrgb(162, 139, 183)
HSLhsl(271, 23%, 63%)
HSVhsv(271, 24%, 72%)
CMYKcmyk(11.5%, 24%, 0%, 28.2%)
CIE-LABlab(61.28, 17.18, -19.79)
CIE-LCHlch(61.28, 26.21, 310.96°)
OKLaboklab(67.28% 0.0426 -0.0539)
OKLCHoklch(67.28% 0.069 308.3)
XYZxyz(32.6786, 29.5657, 48.7758)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BB7 #A0B78B
analogous
#8C8BB7 #A28BB7 #B78BB6
triadic
#A28BB7 #B7A28B #8BB7A2
tetradic
#A28BB7 #B78C8B #A0B78B #8BB6B7
square
#A28BB7 #B78C8B #A0B78B #8BB6B7
split-complementary
#A28BB7 #B6B78B #8BB78C
monochromatic
#654C7B #8465A0 #A28BB7 #C0B1CE #DFD7E6

Accessibility & contrast

On white

3.04
#A28BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A28BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28BB7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BB7#FFFFFF#000000##000000
##A28BB71.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8493B9
Deuteranopia (green-blind)
#8894B6
Tritanopia (blue-blind)
#A0919A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a28bb7;
/* rgb */ color: rgb(162, 139, 183);
/* oklch */ color: oklch(67.3% 0.069 308.3);
Tailwind
colors: {
  custom: {
    50: '#beadcc',
    500: '#a28bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a28bb7;
$custom-light: #beadcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bb7",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 271.364,
    "s": 23.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.06868,
    "h": 308.3
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

primary
#A28BB7
secondary
#CFD7C7
accent
#A24471
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #A28BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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