#A248BD#A248BD

#A248BD is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.189 H 317.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A248BD
RGBrgb(162, 72, 189)
HSLhsl(286, 47%, 51%)
HSVhsv(286, 62%, 74%)
CMYKcmyk(14.3%, 61.9%, 0%, 25.9%)
CIE-LABlab(46.96, 54.85, -45.57)
CIE-LCHlch(46.96, 71.31, 320.28°)
OKLaboklab(56.63% 0.1399 -0.1274)
OKLCHoklch(56.63% 0.189 317.7)
XYZxyz(26.4017, 15.9913, 49.8302)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248BD #63BD48
analogous
#6748BD #A248BD #BD489D
triadic
#A248BD #BDA248 #48BDA2
tetradic
#A248BD #BD6748 #63BD48 #489DBD
square
#A248BD #BD6748 #63BD48 #489DBD
split-complementary
#A248BD #9DBD48 #48BD67
monochromatic
#572566 #7D3593 #A248BD #B975CD #D0A2DD

Accessibility & contrast

On white

5.00
#A248BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A248BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248BD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248BD#FFFFFF#000000##FFFFFF
##A248BD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#A15C7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a248bd;
/* rgb */ color: rgb(162, 72, 189);
/* oklch */ color: oklch(56.6% 0.189 317.7);
Tailwind
colors: {
  custom: {
    50: '#c180d1',
    500: '#a248bd',
    950: '#000000',
  },
}
SCSS
$custom: #a248bd;
$custom-light: #c180d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a248bd",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 286.154,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.18925,
    "h": 317.7
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#A248BD
secondary
#A2CA97
accent
#D75170
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A248BD

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

Preview Lab → · Contrast checker → · Palette generator →

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