#A245CF#A245CF

#A245CF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.211 H 312.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A245CF
RGBrgb(162, 69, 207)
HSLhsl(280, 59%, 54%)
HSVhsv(280, 67%, 81%)
CMYKcmyk(21.7%, 66.7%, 0%, 18.8%)
CIE-LABlab(47.55, 59.91, -55.04)
CIE-LCHlch(47.55, 81.35, 317.43°)
OKLaboklab(57.4% 0.1428 -0.1551)
OKLCHoklch(57.4% 0.211 312.6)
XYZxyz(28.2889, 16.4434, 60.7031)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245CF #72CF45
analogous
#5D45CF #A245CF #CF45B7
triadic
#A245CF #CFA245 #45CFA2
tetradic
#A245CF #CF5D45 #72CF45 #45B7CF
square
#A245CF #CF5D45 #72CF45 #45B7CF
split-complementary
#A245CF #B7CF45 #45CF5D
monochromatic
#5D207A #812CAB #A245CF #BA76DC #D3A6E8

Accessibility & contrast

On white

4.90
#A245CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A245CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245CF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245CF#FFFFFF#000000##FFFFFF
##A245CF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#9D6184
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a245cf;
/* rgb */ color: rgb(162, 69, 207);
/* oklch */ color: oklch(57.4% 0.211 312.6);
Tailwind
colors: {
  custom: {
    50: '#c17fde',
    500: '#a245cf',
    950: '#000000',
  },
}
SCSS
$custom: #a245cf;
$custom-light: #c17fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a245cf",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 280.435,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.21088,
    "h": 312.6
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#A245CF
secondary
#AED59B
accent
#E24679
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245CF

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

Preview Lab → · Contrast checker → · Palette generator →

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