#A28BFB#A28BFB

#A28BFB is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.5% C 0.160 H 291.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A28BFB
RGBrgb(162, 139, 251)
HSLhsl(252, 93%, 76%)
HSVhsv(252, 45%, 98%)
CMYKcmyk(35.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(64.25, 33.54, -53.05)
CIE-LCHlch(64.25, 62.76, 302.30°)
OKLaboklab(70.52% 0.0579 -0.1495)
OKLCHoklch(70.52% 0.16 291.2)
XYZxyz(41.5409, 33.1106, 95.4504)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BFB #E4FB8B
analogous
#8BACFB #A28BFB #DA8BFB
triadic
#A28BFB #FBA28B #8BFBA2
tetradic
#A28BFB #FB8BAC #E4FB8B #8BFBDA
square
#A28BFB #FB8BAC #E4FB8B #8BFBDA
split-complementary
#A28BFB #FBDA8B #ACFB8B
monochromatic
#4315F7 #7350F9 #A28BFB #D1C6FD #E7E1FE

Accessibility & contrast

On white

2.76
#A28BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A28BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BFB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BFB#FFFFFF#000000##000000
##A28BFB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#8CA1B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28bfb;
/* rgb */ color: rgb(162, 139, 251);
/* oklch */ color: oklch(70.5% 0.160 291.2);
Tailwind
colors: {
  custom: {
    50: '#c1adfd',
    500: '#a28bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a28bfb;
$custom-light: #c1adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bfb",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 252.321,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70524,
    "c": 0.16029,
    "h": 291.2
  },
  "luminance": 0.33112
}

Semantic roles & 50–950 ramp

primary
#A28BFB
secondary
#EFF6D5
accent
#E600B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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