#A28FFC#A28FFC

#A28FFC is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.3% C 0.156 H 289.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A28FFC
RGBrgb(162, 143, 252)
HSLhsl(250, 95%, 77%)
HSVhsv(250, 43%, 99%)
CMYKcmyk(35.7%, 43.3%, 0%, 1.2%)
CIE-LABlab(65.24, 31.53, -52.02)
CIE-LCHlch(65.24, 60.83, 301.22°)
OKLaboklab(71.29% 0.0529 -0.1465)
OKLCHoklch(71.29% 0.156 289.9)
XYZxyz(42.2887, 34.3535, 96.4794)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FFC #E9FC8F
analogous
#8FB2FC #A28FFC #D98FFC
triadic
#A28FFC #FCA28F #8FFCA2
tetradic
#A28FFC #FC8FB2 #E9FC8F #8FFCD9
square
#A28FFC #FC8FB2 #E9FC8F #8FFCD9
split-complementary
#A28FFC #FCD98F #B2FC8F
monochromatic
#3F18F9 #7153FA #A28FFC #D3CBFE #E6E1FE

Accessibility & contrast

On white

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

On black

7.87
#A28FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FFC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FFC#FFFFFF#000000##000000
##A28FFC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28ffc;
/* rgb */ color: rgb(162, 143, 252);
/* oklch */ color: oklch(71.3% 0.156 289.9);
Tailwind
colors: {
  custom: {
    50: '#c1b0fe',
    500: '#a28ffc',
    950: '#000000',
  },
}
SCSS
$custom: #a28ffc;
$custom-light: #c1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ffc",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 250.459,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.15575,
    "h": 289.9
  },
  "luminance": 0.34355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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