#A862BF#A862BF

#A862BF is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.1% C 0.153 H 317.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A862BF
RGBrgb(168, 98, 191)
HSLhsl(285, 42%, 57%)
HSVhsv(285, 49%, 75%)
CMYKcmyk(12%, 48.7%, 0%, 25.1%)
CIE-LABlab(52.76, 43.77, -37.51)
CIE-LCHlch(52.76, 57.64, 319.40°)
OKLaboklab(61.08% 0.1128 -0.104)
OKLCHoklch(61.08% 0.153 317.3)
XYZxyz(29.9188, 20.8228, 51.7233)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862BF #79BF62
analogous
#7A62BF #A862BF #BF62A8
triadic
#A862BF #BFA862 #62BFA8
tetradic
#A862BF #BF7A62 #79BF62 #62A8BF
square
#A862BF #BF7A62 #79BF62 #62A8BF
split-complementary
#A862BF #A8BF62 #62BF7A
monochromatic
#653076 #8A42A2 #A862BF #C08DD1 #D8B9E2

Accessibility & contrast

On white

4.07
#A862BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A862BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862BF#FFFFFF#000000##000000
##A862BF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#A86F88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a862bf;
/* rgb */ color: rgb(168, 98, 191);
/* oklch */ color: oklch(61.1% 0.153 317.3);
Tailwind
colors: {
  custom: {
    50: '#c491d2',
    500: '#a862bf',
    950: '#000000',
  },
}
SCSS
$custom: #a862bf;
$custom-light: #c491d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a862bf",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 285.161,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.15342,
    "h": 317.3
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#A862BF
secondary
#B5D1AB
accent
#D25675
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A862BF

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

Preview Lab → · Contrast checker → · Palette generator →

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