#A28BE9#A28BE9

#A28BE9 is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.6% C 0.136 H 293.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A28BE9
RGBrgb(162, 139, 233)
HSLhsl(255, 68%, 73%)
HSVhsv(255, 40%, 91%)
CMYKcmyk(30.5%, 40.3%, 0%, 8.6%)
CIE-LABlab(63.37, 28.93, -44.54)
CIE-LCHlch(63.37, 53.11, 303.01°)
OKLaboklab(69.57% 0.055 -0.1247)
OKLCHoklch(69.57% 0.136 293.8)
XYZxyz(38.8372, 32.0292, 81.2111)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BE9 #D2E98B
analogous
#8BA3E9 #A28BE9 #D18BE9
triadic
#A28BE9 #E9A28B #8BE9A2
tetradic
#A28BE9 #E98BA3 #D2E98B #8BE9D1
square
#A28BE9 #E98BA3 #D2E98B #8BE9D1
split-complementary
#A28BE9 #E9D18B #A3E98B
monochromatic
#5128D2 #7958DF #A28BE9 #CBBEF3 #EAE5FA

Accessibility & contrast

On white

2.84
#A28BE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#A28BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BE9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BE9#FFFFFF#000000##000000
##A28BE91.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AED
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#929CAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a28be9;
/* rgb */ color: rgb(162, 139, 233);
/* oklch */ color: oklch(69.6% 0.136 293.8);
Tailwind
colors: {
  custom: {
    50: '#c0adf0',
    500: '#a28be9',
    950: '#000000',
  },
}
SCSS
$custom: #a28be9;
$custom-light: #c0adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a28be9",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 254.681,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69568,
    "c": 0.13628,
    "h": 293.8
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#A28BE9
secondary
#ECF2D9
accent
#D015A2
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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