#A248D1#A248D1

#A248D1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.209 H 311.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A248D1
RGBrgb(162, 72, 209)
HSLhsl(279, 60%, 55%)
HSVhsv(279, 66%, 82%)
CMYKcmyk(22.5%, 65.6%, 0%, 18%)
CIE-LABlab(48.16, 58.99, -55.21)
CIE-LCHlch(48.16, 80.79, 316.90°)
OKLaboklab(57.88% 0.1394 -0.1556)
OKLCHoklch(57.88% 0.209 311.8)
XYZxyz(28.7242, 16.9203, 62.0620)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248D1 #77D148
analogous
#5D48D1 #A248D1 #D148BB
triadic
#A248D1 #D1A248 #48D1A2
tetradic
#A248D1 #D15D48 #77D148 #48BBD1
square
#A248D1 #D15D48 #77D148 #48BBD1
split-complementary
#A248D1 #BBD148 #48D15D
monochromatic
#5E207F #832CB0 #A248D1 #BB79DD #D4AAEA

Accessibility & contrast

On white

4.79
#A248D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A248D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248D1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248D1#FFFFFF#000000##FFFFFF
##A248D11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#3B74CE
Tritanopia (blue-blind)
#9C6386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a248d1;
/* rgb */ color: rgb(162, 72, 209);
/* oklch */ color: oklch(57.9% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#c181e0',
    500: '#a248d1',
    950: '#000000',
  },
}
SCSS
$custom: #a248d1;
$custom-light: #c181e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a248d1",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 279.416,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57881,
    "c": 0.20893,
    "h": 311.8
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#A248D1
secondary
#B1D79E
accent
#E3457B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A248D1

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

Preview Lab → · Contrast checker → · Palette generator →

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