#A28FC7#A28FC7

#A28FC7 is a light, moderate violet. Relative luminance 0.315; OKLCH L 68.7% C 0.083 H 299.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A28FC7
RGBrgb(162, 143, 199)
HSLhsl(260, 33%, 67%)
HSVhsv(260, 28%, 78%)
CMYKcmyk(18.6%, 28.1%, 0%, 22%)
CIE-LABlab(62.89, 18.46, -26.35)
CIE-LCHlch(62.89, 32.17, 305.02°)
OKLaboklab(68.72% 0.0414 -0.0724)
OKLCHoklch(68.72% 0.083 299.8)
XYZxyz(35.0294, 31.4497, 58.2467)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FC7 #B4C78F
analogous
#8F98C7 #A28FC7 #BE8FC7
triadic
#A28FC7 #C7A28F #8FC7A2
tetradic
#A28FC7 #C78F98 #B4C78F #8FC7BE
square
#A28FC7 #C78F98 #B4C78F #8FC7BE
split-complementary
#A28FC7 #C7BE8F #98C78F
monochromatic
#624992 #8066B3 #A28FC7 #C4B8DB #E6E1F0

Accessibility & contrast

On white

2.88
#A28FC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A28FC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FC7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FC7#FFFFFF#000000##000000
##A28FC71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8398C9
Deuteranopia (green-blind)
#8698C5
Tritanopia (blue-blind)
#9C97A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28fc7;
/* rgb */ color: rgb(162, 143, 199);
/* oklch */ color: oklch(68.7% 0.083 299.8);
Tailwind
colors: {
  custom: {
    50: '#beafd8',
    500: '#a28fc7',
    950: '#000000',
  },
}
SCSS
$custom: #a28fc7;
$custom-light: #beafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fc7",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 199
  },
  "hsl": {
    "h": 260.357,
    "s": 33.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68719,
    "c": 0.08341,
    "h": 299.8
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#A28FC7
secondary
#DCE2D0
accent
#AC3985
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A28FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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