#A862B3#A862B3

#A862B3 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.5% C 0.141 H 322.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A862B3
RGBrgb(168, 98, 179)
HSLhsl(292, 35%, 54%)
HSVhsv(292, 45%, 70%)
CMYKcmyk(6.1%, 45.3%, 0%, 29.8%)
CIE-LABlab(52.19, 41.32, -31.46)
CIE-LCHlch(52.19, 51.93, 322.72°)
OKLaboklab(60.48% 0.1109 -0.0866)
OKLCHoklch(60.48% 0.141 322)
XYZxyz(28.6519, 20.3160, 45.0512)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862B3 #6DB362
analogous
#8062B3 #A862B3 #B36296
triadic
#A862B3 #B3A862 #62B3A8
tetradic
#A862B3 #B38062 #6DB362 #6296B3
square
#A862B3 #B38062 #6DB362 #6296B3
split-complementary
#A862B3 #96B362 #62B380
monochromatic
#613268 #874691 #A862B3 #BF8BC7 #D6B4DB

Accessibility & contrast

On white

4.15
#A862B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A862B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862B3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862B3#FFFFFF#000000##000000
##A862B31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#6B7FB1
Tritanopia (blue-blind)
#AA6C82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a862b3;
/* rgb */ color: rgb(168, 98, 179);
/* oklch */ color: oklch(60.5% 0.141 322.0);
Tailwind
colors: {
  custom: {
    50: '#c391ca',
    500: '#a862b3',
    950: '#000000',
  },
}
SCSS
$custom: #a862b3;
$custom-light: #c391ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a862b3",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 291.852,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.14066,
    "h": 322
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#A862B3
secondary
#ACCAA7
accent
#CB5D6C
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #A862B3

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

Preview Lab → · Contrast checker → · Palette generator →

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