#A342CB#A342CB

#A342CB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.211 H 314.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A342CB
RGBrgb(163, 66, 203)
HSLhsl(282, 57%, 53%)
HSVhsv(282, 67%, 80%)
CMYKcmyk(19.7%, 67.5%, 0%, 20.4%)
CIE-LABlab(46.97, 60.60, -53.66)
CIE-LCHlch(46.97, 80.94, 318.48°)
OKLaboklab(56.93% 0.1477 -0.151)
OKLCHoklch(56.93% 0.211 314.3)
XYZxyz(27.8302, 15.9957, 58.1098)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342CB #6ACB42
analogous
#5F42CB #A342CB #CB42AE
triadic
#A342CB #CBA342 #42CBA3
tetradic
#A342CB #CB5F42 #6ACB42 #42AECB
square
#A342CB #CB5F42 #6ACB42 #42AECB
split-complementary
#A342CB #AECB42 #42CB5F
monochromatic
#5B2073 #802DA3 #A342CB #BA72D8 #D2A2E5

Accessibility & contrast

On white

5.00
#A342CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A342CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342CB#FFFFFF#000000##FFFFFF
##A342CB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#9F5D81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a342cb;
/* rgb */ color: rgb(163, 66, 203);
/* oklch */ color: oklch(56.9% 0.211 314.3);
Tailwind
colors: {
  custom: {
    50: '#c27edb',
    500: '#a342cb',
    950: '#000000',
  },
}
SCSS
$custom: #a342cb;
$custom-light: #c27edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a342cb",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 282.482,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.21123,
    "h": 314.3
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#A342CB
secondary
#A8D297
accent
#E04874
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342CB

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

Preview Lab → · Contrast checker → · Palette generator →

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