#A248BF#A248BF

#A248BF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.191 H 317.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A248BF
RGBrgb(162, 72, 191)
HSLhsl(285, 48%, 52%)
HSVhsv(285, 62%, 75%)
CMYKcmyk(15.2%, 62.3%, 0%, 25.1%)
CIE-LABlab(47.08, 55.25, -46.55)
CIE-LCHlch(47.08, 72.24, 319.89°)
OKLaboklab(56.75% 0.1399 -0.1303)
OKLCHoklch(56.75% 0.191 317)
XYZxyz(26.6203, 16.0787, 50.9814)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248BF #65BF48
analogous
#6748BF #A248BF #BF48A1
triadic
#A248BF #BFA248 #48BFA2
tetradic
#A248BF #BF6748 #65BF48 #48A1BF
square
#A248BF #BF6748 #65BF48 #48A1BF
split-complementary
#A248BF #A1BF48 #48BF67
monochromatic
#582468 #7E3496 #A248BF #B975CF #D0A3DF

Accessibility & contrast

On white

4.98
#A248BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A248BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248BF#FFFFFF#000000##FFFFFF
##A248BF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#A15D7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a248bf;
/* rgb */ color: rgb(162, 72, 191);
/* oklch */ color: oklch(56.8% 0.191 317.0);
Tailwind
colors: {
  custom: {
    50: '#c180d3',
    500: '#a248bf',
    950: '#000000',
  },
}
SCSS
$custom: #a248bf;
$custom-light: #c180d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a248bf",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 285.378,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.1912,
    "h": 317
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

primary
#A248BF
secondary
#A4CC97
accent
#D85071
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A248BF

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

Preview Lab → · Contrast checker → · Palette generator →

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