#A248BC#A248BC

#A248BC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.188 H 318.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A248BC
RGBrgb(162, 72, 188)
HSLhsl(287, 46%, 51%)
HSVhsv(287, 62%, 74%)
CMYKcmyk(13.8%, 61.7%, 0%, 26.3%)
CIE-LABlab(46.91, 54.64, -45.08)
CIE-LCHlch(46.91, 70.84, 320.48°)
OKLaboklab(56.57% 0.1399 -0.126)
OKLCHoklch(56.57% 0.188 318)
XYZxyz(26.2935, 15.9480, 49.2605)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248BC #62BC48
analogous
#6848BC #A248BC #BC489C
triadic
#A248BC #BCA248 #48BCA2
tetradic
#A248BC #BC6848 #62BC48 #489CBC
square
#A248BC #BC6848 #62BC48 #489CBC
split-complementary
#A248BC #9CBC48 #48BC68
monochromatic
#562565 #7D3592 #A248BC #B975CC #D0A2DD

Accessibility & contrast

On white

5.01
#A248BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A248BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248BC#FFFFFF#000000##FFFFFF
##A248BC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#A15C7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a248bc;
/* rgb */ color: rgb(162, 72, 188);
/* oklch */ color: oklch(56.6% 0.188 318.0);
Tailwind
colors: {
  custom: {
    50: '#c080d1',
    500: '#a248bc',
    950: '#000000',
  },
}
SCSS
$custom: #a248bc;
$custom-light: #c080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a248bc",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 286.552,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.18828,
    "h": 318
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#A248BC
secondary
#A2CA96
accent
#D6526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A248BC

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

Preview Lab → · Contrast checker → · Palette generator →

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