#A845CB#A845CB

#A845CB is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.209 H 316.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A845CB
RGBrgb(168, 69, 203)
HSLhsl(284, 56%, 53%)
HSVhsv(284, 66%, 80%)
CMYKcmyk(17.2%, 66%, 0%, 20.4%)
CIE-LABlab(48.13, 60.41, -51.77)
CIE-LCHlch(48.13, 79.56, 319.41°)
OKLaboklab(57.91% 0.1505 -0.1454)
OKLCHoklch(57.91% 0.209 316)
XYZxyz(29.0544, 16.8939, 58.2187)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845CB #68CB45
analogous
#6545CB #A845CB #CB45AB
triadic
#A845CB #CBA845 #45CBA8
tetradic
#A845CB #CB6545 #68CB45 #45ABCB
square
#A845CB #CB6545 #68CB45 #45ABCB
split-complementary
#A845CB #ABCB45 #45CB65
monochromatic
#5F2175 #862EA5 #A845CB #BE75D8 #D5A5E6

Accessibility & contrast

On white

4.80
#A845CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A845CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845CB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845CB#FFFFFF#000000##FFFFFF
##A845CB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#A65E82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a845cb;
/* rgb */ color: rgb(168, 69, 203);
/* oklch */ color: oklch(57.9% 0.209 316.0);
Tailwind
colors: {
  custom: {
    50: '#c580db',
    500: '#a845cb',
    950: '#000000',
  },
}
SCSS
$custom: #a845cb;
$custom-light: #c580db;
$custom-dark: #000000;
JSON
{
  "hex": "#a845cb",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 284.328,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.20925,
    "h": 316
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#A845CB
secondary
#A8D399
accent
#E04870
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845CB

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

Preview Lab → · Contrast checker → · Palette generator →

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