#A248AF#A248AF

#A248AF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.176 H 322.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A248AF
RGBrgb(162, 72, 175)
HSLhsl(292, 42%, 48%)
HSVhsv(292, 59%, 69%)
CMYKcmyk(7.4%, 58.9%, 0%, 31.4%)
CIE-LABlab(46.19, 52.09, -38.60)
CIE-LCHlch(46.19, 64.83, 323.46°)
OKLaboklab(55.82% 0.1394 -0.1071)
OKLCHoklch(55.82% 0.176 322.4)
XYZxyz(24.9547, 15.4125, 42.2096)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248AF #55AF48
analogous
#6E48AF #A248AF #AF4888
triadic
#A248AF #AFA248 #48AFA2
tetradic
#A248AF #AF6E48 #55AF48 #4888AF
square
#A248AF #AF6E48 #55AF48 #4888AF
split-complementary
#A248AF #88AF48 #48AF6E
monochromatic
#522458 #7A3684 #A248AF #BA70C4 #CF9BD6

Accessibility & contrast

On white

5.14
#A248AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A248AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248AF#FFFFFF#000000##FFFFFF
##A248AF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#A45775
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a248af;
/* rgb */ color: rgb(162, 72, 175);
/* oklch */ color: oklch(55.8% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#c080c7',
    500: '#a248af',
    950: '#000000',
  },
}
SCSS
$custom: #a248af;
$custom-light: #c080c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a248af",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 292.427,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.17579,
    "h": 322.4
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#A248AF
secondary
#97C290
accent
#D25666
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A248AF

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

Preview Lab → · Contrast checker → · Palette generator →

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