#A245C8#A245C8

#A245C8 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.204 H 314.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A245C8
RGBrgb(162, 69, 200)
HSLhsl(283, 54%, 53%)
HSVhsv(283, 66%, 78%)
CMYKcmyk(19%, 65.5%, 0%, 21.6%)
CIE-LABlab(47.12, 58.45, -51.70)
CIE-LCHlch(47.12, 78.04, 318.51°)
OKLaboklab(56.95% 0.1432 -0.1453)
OKLCHoklch(56.95% 0.204 314.6)
XYZxyz(27.4520, 16.1087, 56.2956)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245C8 #6BC845
analogous
#6045C8 #A245C8 #C845AD
triadic
#A245C8 #C8A245 #45C8A2
tetradic
#A245C8 #C86045 #6BC845 #45ADC8
square
#A245C8 #C86045 #6BC845 #45ADC8
split-complementary
#A245C8 #ADC845 #45C860
monochromatic
#5A2171 #802FA0 #A245C8 #BA74D6 #D1A3E4

Accessibility & contrast

On white

4.97
#A245C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A245C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245C8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245C8#FFFFFF#000000##FFFFFF
##A245C81.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#9F5E81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a245c8;
/* rgb */ color: rgb(162, 69, 200);
/* oklch */ color: oklch(57.0% 0.204 314.6);
Tailwind
colors: {
  custom: {
    50: '#c17fd9',
    500: '#a245c8',
    950: '#000000',
  },
}
SCSS
$custom: #a245c8;
$custom-light: #c17fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a245c8",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 282.595,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.20408,
    "h": 314.6
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#A245C8
secondary
#A8D198
accent
#DE4A75
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A245C8

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

Preview Lab → · Contrast checker → · Palette generator →

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