#A248CF#A248CF

#A248CF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.207 H 312.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A248CF
RGBrgb(162, 72, 207)
HSLhsl(280, 58%, 55%)
HSVhsv(280, 65%, 81%)
CMYKcmyk(21.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(48.03, 58.56, -54.26)
CIE-LCHlch(48.03, 79.84, 317.19°)
OKLaboklab(57.75% 0.1395 -0.1529)
OKLCHoklch(57.75% 0.207 312.4)
XYZxyz(28.4781, 16.8219, 60.7662)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248CF #75CF48
analogous
#5F48CF #A248CF #CF48B9
triadic
#A248CF #CFA248 #48CFA2
tetradic
#A248CF #CF5F48 #75CF48 #48B9CF
square
#A248CF #CF5F48 #75CF48 #48B9CF
split-complementary
#A248CF #B9CF48 #48CF5F
monochromatic
#5E217C #822DAD #A248CF #BB78DC #D3A9E8

Accessibility & contrast

On white

4.81
#A248CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A248CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248CF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248CF#FFFFFF#000000##FFFFFF
##A248CF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#9D6385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a248cf;
/* rgb */ color: rgb(162, 72, 207);
/* oklch */ color: oklch(57.8% 0.207 312.4);
Tailwind
colors: {
  custom: {
    50: '#c181de',
    500: '#a248cf',
    950: '#000000',
  },
}
SCSS
$custom: #a248cf;
$custom-light: #c181de;
$custom-dark: #000000;
JSON
{
  "hex": "#a248cf",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 280,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.20695,
    "h": 312.4
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#A248CF
secondary
#B0D69D
accent
#E2467A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A248CF

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

Preview Lab → · Contrast checker → · Palette generator →

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