#A248D7#A248D7

#A248D7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.215 H 310.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A248D7
RGBrgb(162, 72, 215)
HSLhsl(278, 64%, 56%)
HSVhsv(278, 67%, 84%)
CMYKcmyk(24.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(48.54, 60.27, -58.03)
CIE-LCHlch(48.54, 83.66, 316.09°)
OKLaboklab(58.28% 0.139 -0.1639)
OKLCHoklch(58.28% 0.215 310.3)
XYZxyz(29.4810, 17.2230, 66.0481)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248D7 #7DD748
analogous
#5B48D7 #A248D7 #D748C5
triadic
#A248D7 #D7A248 #48D7A2
tetradic
#A248D7 #D75B48 #7DD748 #48C5D7
square
#A248D7 #D75B48 #7DD748 #48C5D7
split-complementary
#A248D7 #C5D748 #48D75B
monochromatic
#601E87 #8429B9 #A248D7 #BC7AE2 #D5ACED

Accessibility & contrast

On white

4.73
#A248D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A248D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248D7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248D7#FFFFFF#000000##FFFFFF
##A248D71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#3375D4
Tritanopia (blue-blind)
#9B668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a248d7;
/* rgb */ color: rgb(162, 72, 215);
/* oklch */ color: oklch(58.3% 0.215 310.3);
Tailwind
colors: {
  custom: {
    50: '#c281e4',
    500: '#a248d7',
    950: '#000000',
  },
}
SCSS
$custom: #a248d7;
$custom-light: #c281e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a248d7",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 277.762,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.21489,
    "h": 310.3
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#A248D7
secondary
#B6DBA0
accent
#E7417E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248D7

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

Preview Lab → · Contrast checker → · Palette generator →

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