#A28CFD#A28CFD

#A28CFD is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.8% C 0.161 H 290.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A28CFD
RGBrgb(162, 140, 253)
HSLhsl(252, 97%, 77%)
HSVhsv(252, 45%, 99%)
CMYKcmyk(36%, 44.7%, 0%, 0.8%)
CIE-LABlab(64.59, 33.49, -53.61)
CIE-LCHlch(64.59, 63.21, 301.99°)
OKLaboklab(70.81% 0.0569 -0.1511)
OKLCHoklch(70.81% 0.161 290.6)
XYZxyz(42.0033, 33.5283, 97.1680)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CFD #E7FD8C
analogous
#8CAFFD #A28CFD #DA8CFD
triadic
#A28CFD #FDA28C #8CFDA2
tetradic
#A28CFD #FD8CAF #E7FD8C #8CFDDA
square
#A28CFD #FD8CAF #E7FD8C #8CFDDA
split-complementary
#A28CFD #FDDA8C #AFFD8C
monochromatic
#4114FB #7150FC #A28CFD #D3C8FE #E7E1FE

Accessibility & contrast

On white

2.73
#A28CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A28CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CFD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CFD#FFFFFF#000000##000000
##A28CFD1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#8BA2B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28cfd;
/* rgb */ color: rgb(162, 140, 253);
/* oklch */ color: oklch(70.8% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#c1aefe',
    500: '#a28cfd',
    950: '#000000',
  },
}
SCSS
$custom: #a28cfd;
$custom-light: #c1aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cfd",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 251.681,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.16146,
    "h": 290.6
  },
  "luminance": 0.33529
}

Semantic roles & 50–950 ramp

primary
#A28CFD
secondary
#F0F7D4
accent
#E600B9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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