#A28BF2#A28BF2

#A28BF2 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.0% C 0.148 H 292.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A28BF2
RGBrgb(162, 139, 242)
HSLhsl(253, 80%, 75%)
HSVhsv(253, 43%, 95%)
CMYKcmyk(33.1%, 42.6%, 0%, 5.1%)
CIE-LABlab(63.80, 31.21, -48.82)
CIE-LCHlch(63.80, 57.95, 302.59°)
OKLaboklab(70.04% 0.0566 -0.1371)
OKLCHoklch(70.04% 0.148 292.4)
XYZxyz(40.1558, 32.5566, 88.1556)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BF2 #DBF28B
analogous
#8BA8F2 #A28BF2 #D68BF2
triadic
#A28BF2 #F2A28B #8BF2A2
tetradic
#A28BF2 #F28BA8 #DBF28B #8BF2D6
square
#A28BF2 #F28BA8 #DBF28B #8BF2D6
split-complementary
#A28BF2 #F2D68B #A8F28B
monochromatic
#4A1DE6 #7654EC #A28BF2 #CEC2F8 #E9E3FC

Accessibility & contrast

On white

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

On black

7.51
#A28BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BF2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BF2#FFFFFF#000000##000000
##A28BF21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28bf2;
/* rgb */ color: rgb(162, 139, 242);
/* oklch */ color: oklch(70.0% 0.148 292.4);
Tailwind
colors: {
  custom: {
    50: '#c0adf7',
    500: '#a28bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a28bf2;
$custom-light: #c0adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bf2",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 253.398,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.14833,
    "h": 292.4
  },
  "luminance": 0.32557
}

Semantic roles & 50–950 ramp

primary
#A28BF2
secondary
#EDF4D7
accent
#DC09AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A28BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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