#A248CB#A248CB

#A248CB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.5% C 0.203 H 313.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A248CB
RGBrgb(162, 72, 203)
HSLhsl(281, 56%, 54%)
HSVhsv(281, 65%, 80%)
CMYKcmyk(20.2%, 64.5%, 0%, 20.4%)
CIE-LABlab(47.79, 57.72, -52.35)
CIE-LCHlch(47.79, 77.93, 317.79°)
OKLaboklab(57.5% 0.1397 -0.1473)
OKLCHoklch(57.5% 0.203 313.5)
XYZxyz(27.9953, 16.6287, 58.2233)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248CB #71CB48
analogous
#6148CB #A248CB #CB48B3
triadic
#A248CB #CBA248 #48CBA2
tetradic
#A248CB #CB6148 #71CB48 #48B3CB
square
#A248CB #CB6148 #71CB48 #48B3CB
split-complementary
#A248CB #B3CB48 #48CB61
monochromatic
#5C2277 #812FA6 #A248CB #BA78D9 #D2A7E6

Accessibility & contrast

On white

4.85
#A248CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A248CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248CB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248CB#FFFFFF#000000##FFFFFF
##A248CB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DCF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#9E6183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a248cb;
/* rgb */ color: rgb(162, 72, 203);
/* oklch */ color: oklch(57.5% 0.203 313.5);
Tailwind
colors: {
  custom: {
    50: '#c181db',
    500: '#a248cb',
    950: '#000000',
  },
}
SCSS
$custom: #a248cb;
$custom-light: #c181db;
$custom-dark: #000000;
JSON
{
  "hex": "#a248cb",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 281.221,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.20299,
    "h": 313.5
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#A248CB
secondary
#ADD39B
accent
#DF4978
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A248CB

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

Preview Lab → · Contrast checker → · Palette generator →

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