#A28DF6#A28DF6

#A28DF6 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.6% C 0.151 H 291.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A28DF6
RGBrgb(162, 141, 246)
HSLhsl(252, 85%, 76%)
HSVhsv(252, 43%, 96%)
CMYKcmyk(34.1%, 42.7%, 0%, 3.5%)
CIE-LABlab(64.47, 31.11, -49.96)
CIE-LCHlch(64.47, 58.85, 301.91°)
OKLaboklab(70.61% 0.0546 -0.1404)
OKLCHoklch(70.61% 0.151 291.2)
XYZxyz(41.0554, 33.3840, 91.4516)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DF6 #E1F68D
analogous
#8DACF6 #A28DF6 #D68DF6
triadic
#A28DF6 #F6A28D #8DF6A2
tetradic
#A28DF6 #F68DAC #E1F68D #8DF6D6
square
#A28DF6 #F68DAC #E1F68D #8DF6D6
split-complementary
#A28DF6 #F6D68D #ACF68D
monochromatic
#451CED #7454F2 #A28DF6 #D0C6FA #E8E3FD

Accessibility & contrast

On white

2.74
#A28DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A28DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DF6
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DF6#FFFFFF#000000##000000
##A28DF61.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#8EA1B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28df6;
/* rgb */ color: rgb(162, 141, 246);
/* oklch */ color: oklch(70.6% 0.151 291.2);
Tailwind
colors: {
  custom: {
    50: '#c0aef9',
    500: '#a28df6',
    950: '#000000',
  },
}
SCSS
$custom: #a28df6;
$custom-light: #c0aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28df6",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 252,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.15068,
    "h": 291.2
  },
  "luminance": 0.33385
}

Semantic roles & 50–950 ramp

primary
#A28DF6
secondary
#EFF5D6
accent
#E204B5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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