#A248B2#A248B2

#A248B2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.179 H 321.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A248B2
RGBrgb(162, 72, 178)
HSLhsl(291, 42%, 49%)
HSVhsv(291, 60%, 70%)
CMYKcmyk(9%, 59.6%, 0%, 30.2%)
CIE-LABlab(46.35, 52.67, -40.11)
CIE-LCHlch(46.35, 66.20, 322.71°)
OKLaboklab(55.99% 0.1396 -0.1115)
OKLCHoklch(55.99% 0.179 321.4)
XYZxyz(25.2526, 15.5317, 43.7786)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248B2 #58B248
analogous
#6D48B2 #A248B2 #B2488D
triadic
#A248B2 #B2A248 #48B2A2
tetradic
#A248B2 #B26D48 #58B248 #488DB2
square
#A248B2 #B26D48 #58B248 #488DB2
split-complementary
#A248B2 #8DB248 #48B26D
monochromatic
#53255B #7A3686 #A248B2 #B971C6 #CF9DD7

Accessibility & contrast

On white

5.11
#A248B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A248B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248B2#FFFFFF#000000##FFFFFF
##A248B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#A45876
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a248b2;
/* rgb */ color: rgb(162, 72, 178);
/* oklch */ color: oklch(56.0% 0.179 321.4);
Tailwind
colors: {
  custom: {
    50: '#c080c9',
    500: '#a248b2',
    950: '#000000',
  },
}
SCSS
$custom: #a248b2;
$custom-light: #c080c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a248b2",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 290.943,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.17864,
    "h": 321.4
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#A248B2
secondary
#99C492
accent
#D25668
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A248B2

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

Preview Lab → · Contrast checker → · Palette generator →

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