#A28BBB#A28BBB

#A28BBB is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.4% C 0.074 H 306.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A28BBB
RGBrgb(162, 139, 187)
HSLhsl(269, 26%, 64%)
HSVhsv(269, 26%, 73%)
CMYKcmyk(13.4%, 25.7%, 0%, 26.7%)
CIE-LABlab(61.42, 18.05, -21.83)
CIE-LCHlch(61.42, 28.33, 309.59°)
OKLaboklab(67.44% 0.0438 -0.0596)
OKLCHoklch(67.44% 0.074 306.3)
XYZxyz(33.1009, 29.7346, 50.9996)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BBB #A4BB8B
analogous
#8B8CBB #A28BBB #BA8BBB
triadic
#A28BBB #BBA28B #8BBBA2
tetradic
#A28BBB #BB8B8C #A4BB8B #8BBBBA
square
#A28BBB #BB8B8C #A4BB8B #8BBBBA
split-complementary
#A28BBB #BBBA8B #8CBB8B
monochromatic
#654B80 #8364A4 #A28BBB #C1B2D2 #E0D8E8

Accessibility & contrast

On white

3.02
#A28BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A28BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28BBB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BBB#FFFFFF#000000##000000
##A28BBB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BD
Deuteranopia (green-blind)
#8795BA
Tritanopia (blue-blind)
#9F929C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a28bbb;
/* rgb */ color: rgb(162, 139, 187);
/* oklch */ color: oklch(67.4% 0.074 306.3);
Tailwind
colors: {
  custom: {
    50: '#beadcf',
    500: '#a28bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a28bbb;
$custom-light: #beadcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bbb",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 268.75,
    "s": 26.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67445,
    "c": 0.07398,
    "h": 306.3
  },
  "luminance": 0.29734
}

Semantic roles & 50–950 ramp

primary
#A28BBB
secondary
#D1D9C8
accent
#A54175
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#121013
muted
#817F82

Preview Lab

Preview with #A28BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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