#A248BB#A248BB

#A248BB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.187 H 318.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A248BB
RGBrgb(162, 72, 187)
HSLhsl(287, 46%, 51%)
HSVhsv(287, 61%, 73%)
CMYKcmyk(13.4%, 61.5%, 0%, 26.7%)
CIE-LABlab(46.85, 54.44, -44.58)
CIE-LCHlch(46.85, 70.37, 320.69°)
OKLaboklab(56.51% 0.1399 -0.1246)
OKLCHoklch(56.51% 0.187 318.3)
XYZxyz(26.1861, 15.9050, 48.6947)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248BB #61BB48
analogous
#6848BB #A248BB #BB489A
triadic
#A248BB #BBA248 #48BBA2
tetradic
#A248BB #BB6848 #61BB48 #489ABB
square
#A248BB #BB6848 #61BB48 #489ABB
split-complementary
#A248BB #9ABB48 #48BB68
monochromatic
#562564 #7D3690 #A248BB #B975CC #CFA1DC

Accessibility & contrast

On white

5.02
#A248BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A248BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248BB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248BB#FFFFFF#000000##FFFFFF
##A248BB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#A25B7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a248bb;
/* rgb */ color: rgb(162, 72, 187);
/* oklch */ color: oklch(56.5% 0.187 318.3);
Tailwind
colors: {
  custom: {
    50: '#c080d0',
    500: '#a248bb',
    950: '#000000',
  },
}
SCSS
$custom: #a248bb;
$custom-light: #c080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a248bb",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 286.957,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.18731,
    "h": 318.3
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#A248BB
secondary
#A1C996
accent
#D5526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A248BB

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

Preview Lab → · Contrast checker → · Palette generator →

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