#A28BF3#A28BF3

#A28BF3 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.1% C 0.150 H 292.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#A28BF3
RGBrgb(162, 139, 243)
HSLhsl(253, 81%, 75%)
HSVhsv(253, 43%, 95%)
CMYKcmyk(33.3%, 42.8%, 0%, 4.7%)
CIE-LABlab(63.85, 31.47, -49.29)
CIE-LCHlch(63.85, 58.48, 302.56°)
OKLaboklab(70.09% 0.0567 -0.1385)
OKLCHoklch(70.09% 0.15 292.3)
XYZxyz(40.3064, 32.6168, 88.9487)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BF3 #DCF38B
analogous
#8BA8F3 #A28BF3 #D68BF3
triadic
#A28BF3 #F3A28B #8BF3A2
tetradic
#A28BF3 #F38BA8 #DCF38B #8BF3D6
square
#A28BF3 #F38BA8 #DCF38B #8BF3D6
split-complementary
#A28BF3 #F3D68B #A8F38B
monochromatic
#491CE8 #7654ED #A28BF3 #CEC2F9 #E9E3FC

Accessibility & contrast

On white

2.79
#A28BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#A28BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BF3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BF3#FFFFFF#000000##000000
##A28BF31.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#6C99F0
Tritanopia (blue-blind)
#8F9EB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28bf3;
/* rgb */ color: rgb(162, 139, 243);
/* oklch */ color: oklch(70.1% 0.150 292.3);
Tailwind
colors: {
  custom: {
    50: '#c0adf7',
    500: '#a28bf3',
    950: '#000000',
  },
}
SCSS
$custom: #a28bf3;
$custom-light: #c0adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bf3",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 253.269,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.14967,
    "h": 292.3
  },
  "luminance": 0.32618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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