#A845BE#A845BE

#A845BE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.197 H 319.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A845BE
RGBrgb(168, 69, 190)
HSLhsl(289, 48%, 51%)
HSVhsv(289, 64%, 75%)
CMYKcmyk(11.6%, 63.7%, 0%, 25.5%)
CIE-LABlab(47.37, 57.85, -45.46)
CIE-LCHlch(47.37, 73.57, 321.84°)
OKLaboklab(57.12% 0.1508 -0.1269)
OKLCHoklch(57.12% 0.197 319.9)
XYZxyz(27.5697, 16.3001, 50.3992)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845BE #5BBE45
analogous
#6B45BE #A845BE #BE4597
triadic
#A845BE #BEA845 #45BEA8
tetradic
#A845BE #BE6B45 #5BBE45 #4597BE
square
#A845BE #BE6B45 #5BBE45 #4597BE
split-complementary
#A845BE #97BE45 #45BE6B
monochromatic
#592365 #813393 #A845BE #BD72CE #D2A0DE

Accessibility & contrast

On white

4.93
#A845BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A845BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845BE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845BE#FFFFFF#000000##FFFFFF
##A845BE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#A9597B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a845be;
/* rgb */ color: rgb(168, 69, 190);
/* oklch */ color: oklch(57.1% 0.197 319.9);
Tailwind
colors: {
  custom: {
    50: '#c57fd2',
    500: '#a845be',
    950: '#000000',
  },
}
SCSS
$custom: #a845be;
$custom-light: #c57fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a845be",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 289.091,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.19708,
    "h": 319.9
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#A845BE
secondary
#9ECA95
accent
#D85069
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A845BE

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

Preview Lab → · Contrast checker → · Palette generator →

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