#A248CC#A248CC

#A248CC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.6% C 0.204 H 313.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A248CC
RGBrgb(162, 72, 204)
HSLhsl(281, 56%, 54%)
HSVhsv(281, 65%, 80%)
CMYKcmyk(20.6%, 64.7%, 0%, 20%)
CIE-LABlab(47.85, 57.93, -52.83)
CIE-LCHlch(47.85, 78.40, 317.64°)
OKLaboklab(57.56% 0.1397 -0.1487)
OKLCHoklch(57.56% 0.204 313.2)
XYZxyz(28.1148, 16.6766, 58.8529)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248CC #72CC48
analogous
#6048CC #A248CC #CC48B4
triadic
#A248CC #CCA248 #48CCA2
tetradic
#A248CC #CC6048 #72CC48 #48B4CC
square
#A248CC #CC6048 #72CC48 #48B4CC
split-complementary
#A248CC #B4CC48 #48CC60
monochromatic
#5D2178 #812FA8 #A248CC #BA78D9 #D3A8E7

Accessibility & contrast

On white

4.84
#A248CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A248CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248CC#FFFFFF#000000##FFFFFF
##A248CC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#9E6284
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a248cc;
/* rgb */ color: rgb(162, 72, 204);
/* oklch */ color: oklch(57.6% 0.204 313.2);
Tailwind
colors: {
  custom: {
    50: '#c181dc',
    500: '#a248cc',
    950: '#000000',
  },
}
SCSS
$custom: #a248cc;
$custom-light: #c181dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a248cc",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 280.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.20398,
    "h": 313.2
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#A248CC
secondary
#AED49C
accent
#E04878
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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