#A28CF2#A28CF2

#A28CF2 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.2% C 0.147 H 292.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A28CF2
RGBrgb(162, 140, 242)
HSLhsl(253, 80%, 75%)
HSVhsv(253, 42%, 95%)
CMYKcmyk(33.1%, 42.1%, 0%, 5.1%)
CIE-LABlab(64.04, 30.64, -48.45)
CIE-LCHlch(64.04, 57.32, 302.32°)
OKLaboklab(70.22% 0.0552 -0.136)
OKLCHoklch(70.22% 0.147 292.1)
XYZxyz(40.3012, 32.8475, 88.2041)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CF2 #DCF28C
analogous
#8CA9F2 #A28CF2 #D58CF2
triadic
#A28CF2 #F2A28C #8CF2A2
tetradic
#A28CF2 #F28CA9 #DCF28C #8CF2D5
square
#A28CF2 #F28CA9 #DCF28C #8CF2D5
split-complementary
#A28CF2 #F2D58C #A9F28C
monochromatic
#491EE6 #7655EC #A28CF2 #CEC3F8 #E9E4FC

Accessibility & contrast

On white

2.77
#A28CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A28CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CF2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CF2#FFFFFF#000000##000000
##A28CF21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#8F9FB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28cf2;
/* rgb */ color: rgb(162, 140, 242);
/* oklch */ color: oklch(70.2% 0.147 292.1);
Tailwind
colors: {
  custom: {
    50: '#c0aef7',
    500: '#a28cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a28cf2;
$custom-light: #c0aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cf2",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 252.941,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70217,
    "c": 0.14683,
    "h": 292.1
  },
  "luminance": 0.32848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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