#A28FFB#A28FFB

#A28FFB is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.2% C 0.154 H 290.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A28FFB
RGBrgb(162, 143, 251)
HSLhsl(251, 93%, 77%)
HSVhsv(251, 43%, 98%)
CMYKcmyk(35.5%, 43%, 0%, 1.6%)
CIE-LABlab(65.19, 31.27, -51.56)
CIE-LCHlch(65.19, 60.30, 301.23°)
OKLaboklab(71.24% 0.0528 -0.1451)
OKLCHoklch(71.24% 0.154 290)
XYZxyz(42.1307, 34.2902, 95.6470)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FFB #E8FB8F
analogous
#8FB2FB #A28FFB #D88FFB
triadic
#A28FFB #FBA28F #8FFBA2
tetradic
#A28FFB #FB8FB2 #E8FB8F #8FFBD8
square
#A28FFB #FB8FB2 #E8FB8F #8FFBD8
split-complementary
#A28FFB #FBD88F #B2FB8F
monochromatic
#4019F7 #7154F9 #A28FFB #D3CAFD #E6E1FE

Accessibility & contrast

On white

2.67
#A28FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A28FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FFB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FFB#FFFFFF#000000##000000
##A28FFB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#8BA4B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28ffb;
/* rgb */ color: rgb(162, 143, 251);
/* oklch */ color: oklch(71.2% 0.154 290.0);
Tailwind
colors: {
  custom: {
    50: '#c1b0fd',
    500: '#a28ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a28ffb;
$custom-light: #c1b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ffb",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 250.556,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71236,
    "c": 0.15441,
    "h": 290
  },
  "luminance": 0.34291
}

Semantic roles & 50–950 ramp

primary
#A28FFB
secondary
#F0F6D5
accent
#E600BD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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