#A28BEC#A28BEC

#A28BEC is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.7% C 0.140 H 293.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A28BEC
RGBrgb(162, 139, 236)
HSLhsl(254, 72%, 74%)
HSVhsv(254, 41%, 93%)
CMYKcmyk(31.4%, 41.1%, 0%, 7.5%)
CIE-LABlab(63.51, 29.69, -45.97)
CIE-LCHlch(63.51, 54.72, 302.85°)
OKLaboklab(69.72% 0.0556 -0.1288)
OKLCHoklch(69.72% 0.14 293.3)
XYZxyz(39.2694, 32.2021, 83.4873)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BEC #D5EC8B
analogous
#8BA4EC #A28BEC #D28BEC
triadic
#A28BEC #ECA28B #8BECA2
tetradic
#A28BEC #EC8BA4 #D5EC8B #8BECD2
square
#A28BEC #EC8BA4 #D5EC8B #8BECD2
split-complementary
#A28BEC #ECD28B #A4EC8B
monochromatic
#4F24D9 #7856E3 #A28BEC #CCC0F5 #EAE5FB

Accessibility & contrast

On white

2.82
#A28BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A28BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BEC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BEC#FFFFFF#000000##000000
##A28BEC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#7198EA
Tritanopia (blue-blind)
#919DB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28bec;
/* rgb */ color: rgb(162, 139, 236);
/* oklch */ color: oklch(69.7% 0.140 293.3);
Tailwind
colors: {
  custom: {
    50: '#c0adf2',
    500: '#a28bec',
    950: '#000000',
  },
}
SCSS
$custom: #a28bec;
$custom-light: #c0adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bec",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 254.227,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69722,
    "c": 0.14031,
    "h": 293.3
  },
  "luminance": 0.32203
}

Semantic roles & 50–950 ramp

primary
#A28BEC
secondary
#ECF2D9
accent
#D412A6
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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