#A245CE#A245CE

#A245CE is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.3% C 0.210 H 312.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A245CE
RGBrgb(162, 69, 206)
HSLhsl(281, 58%, 54%)
HSVhsv(281, 67%, 81%)
CMYKcmyk(21.4%, 66.5%, 0%, 19.2%)
CIE-LABlab(47.49, 59.70, -54.56)
CIE-LCHlch(47.49, 80.87, 317.57°)
OKLaboklab(57.34% 0.1429 -0.1537)
OKLCHoklch(57.34% 0.21 312.9)
XYZxyz(28.1670, 16.3947, 60.0613)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245CE #71CE45
analogous
#5E45CE #A245CE #CE45B6
triadic
#A245CE #CEA245 #45CEA2
tetradic
#A245CE #CE5E45 #71CE45 #45B6CE
square
#A245CE #CE5E45 #71CE45 #45B6CE
split-complementary
#A245CE #B6CE45 #45CE5E
monochromatic
#5C2079 #812DA9 #A245CE #BA75DB #D2A6E8

Accessibility & contrast

On white

4.91
#A245CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A245CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245CE#FFFFFF#000000##FFFFFF
##A245CE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#9D6084
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a245ce;
/* rgb */ color: rgb(162, 69, 206);
/* oklch */ color: oklch(57.3% 0.210 312.9);
Tailwind
colors: {
  custom: {
    50: '#c17fde',
    500: '#a245ce',
    950: '#000000',
  },
}
SCSS
$custom: #a245ce;
$custom-light: #c17fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a245ce",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 280.73,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.2099,
    "h": 312.9
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#A245CE
secondary
#ADD59A
accent
#E24678
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245CE

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

Preview Lab → · Contrast checker → · Palette generator →

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