#A28DF2#A28DF2

#A28DF2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.4% C 0.145 H 291.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A28DF2
RGBrgb(162, 141, 242)
HSLhsl(252, 80%, 75%)
HSVhsv(252, 42%, 95%)
CMYKcmyk(33.1%, 41.7%, 0%, 5.1%)
CIE-LABlab(64.28, 30.08, -48.07)
CIE-LCHlch(64.28, 56.70, 302.03°)
OKLaboklab(70.4% 0.0539 -0.1349)
OKLCHoklch(70.4% 0.145 291.8)
XYZxyz(40.4480, 33.1411, 88.2530)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DF2 #DDF28D
analogous
#8DABF2 #A28DF2 #D48DF2
triadic
#A28DF2 #F2A28D #8DF2A2
tetradic
#A28DF2 #F28DAB #DDF28D #8DF2D4
square
#A28DF2 #F28DAB #DDF28D #8DF2D4
split-complementary
#A28DF2 #F2D48D #ABF28D
monochromatic
#481FE5 #7556EC #A28DF2 #CFC4F8 #E9E4FC

Accessibility & contrast

On white

2.75
#A28DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A28DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DF2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DF2#FFFFFF#000000##000000
##A28DF21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#8FA0B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28df2;
/* rgb */ color: rgb(162, 141, 242);
/* oklch */ color: oklch(70.4% 0.145 291.8);
Tailwind
colors: {
  custom: {
    50: '#c0aef7',
    500: '#a28df2',
    950: '#000000',
  },
}
SCSS
$custom: #a28df2;
$custom-light: #c0aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28df2",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 252.475,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.14533,
    "h": 291.8
  },
  "luminance": 0.33142
}

Semantic roles & 50–950 ramp

primary
#A28DF2
secondary
#EEF4D7
accent
#DC0AB0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A28DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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