#A28FCD#A28FCD

#A28FCD is a light, moderate violet. Relative luminance 0.317; OKLCH L 69.0% C 0.092 H 298.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A28FCD
RGBrgb(162, 143, 205)
HSLhsl(258, 38%, 68%)
HSVhsv(258, 30%, 80%)
CMYKcmyk(21%, 30.2%, 0%, 19.6%)
CIE-LABlab(63.12, 19.85, -29.34)
CIE-LCHlch(63.12, 35.42, 304.07°)
OKLaboklab(68.98% 0.0431 -0.0809)
OKLCHoklch(68.98% 0.092 298)
XYZxyz(35.7398, 31.7339, 61.9881)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FCD #BACD8F
analogous
#8F9BCD #A28FCD #C18FCD
triadic
#A28FCD #CDA28F #8FCDA2
tetradic
#A28FCD #CD8F9B #BACD8F #8FCDC1
square
#A28FCD #CD8F9B #BACD8F #8FCDC1
split-complementary
#A28FCD #CDC18F #9BCD8F
monochromatic
#60469C #7F65BA #A28FCD #C5B9E0 #E8E4F3

Accessibility & contrast

On white

2.86
#A28FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A28FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FCD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FCD#FFFFFF#000000##000000
##A28FCD1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D0
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#9A99A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a28fcd;
/* rgb */ color: rgb(162, 143, 205);
/* oklch */ color: oklch(69.0% 0.092 298.0);
Tailwind
colors: {
  custom: {
    50: '#beb0dc',
    500: '#a28fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a28fcd;
$custom-light: #beb0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fcd",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 258.387,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68979,
    "c": 0.09168,
    "h": 298
  },
  "luminance": 0.31734
}

Semantic roles & 50–950 ramp

primary
#A28FCD
secondary
#E0E5D2
accent
#B1348B
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A28FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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