#A28FDB#A28FDB

#A28FDB is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.6% C 0.111 H 294.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A28FDB
RGBrgb(162, 143, 219)
HSLhsl(255, 51%, 71%)
HSVhsv(255, 35%, 86%)
CMYKcmyk(26%, 34.7%, 0%, 14.1%)
CIE-LABlab(63.71, 23.18, -36.24)
CIE-LCHlch(63.71, 43.02, 302.60°)
OKLaboklab(69.62% 0.0466 -0.1007)
OKLCHoklch(69.62% 0.111 294.8)
XYZxyz(37.5059, 32.4403, 71.2897)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FDB #C8DB8F
analogous
#8FA2DB #A28FDB #C88FDB
triadic
#A28FDB #DBA28F #8FDBA2
tetradic
#A28FDB #DB8FA2 #C8DB8F #8FDBC8
square
#A28FDB #DB8FA2 #C8DB8F #8FDBC8
split-complementary
#A28FDB #DBC88F #A2DB8F
monochromatic
#593AB5 #7C61CC #A28FDB #C8BDEA #ECE8F8

Accessibility & contrast

On white

2.80
#A28FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#A28FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FDB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FDB#FFFFFF#000000##000000
##A28FDB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#969CAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28fdb;
/* rgb */ color: rgb(162, 143, 219);
/* oklch */ color: oklch(69.6% 0.111 294.8);
Tailwind
colors: {
  custom: {
    50: '#bfb0e6',
    500: '#a28fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a28fdb;
$custom-light: #bfb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fdb",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 255,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69618,
    "c": 0.11098,
    "h": 294.8
  },
  "luminance": 0.32441
}

Semantic roles & 50–950 ramp

primary
#A28FDB
secondary
#E8EDD9
accent
#BF2799
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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