#A248D8#A248D8

#A248D8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.216 H 310.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A248D8
RGBrgb(162, 72, 216)
HSLhsl(278, 65%, 56%)
HSVhsv(278, 67%, 85%)
CMYKcmyk(25%, 66.7%, 0%, 15.3%)
CIE-LABlab(48.60, 60.48, -58.49)
CIE-LCHlch(48.60, 84.14, 315.96°)
OKLaboklab(58.34% 0.1389 -0.1653)
OKLCHoklch(58.34% 0.216 310)
XYZxyz(29.6099, 17.2746, 66.7269)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248D8 #7ED848
analogous
#5A48D8 #A248D8 #D848C6
triadic
#A248D8 #D8A248 #48D8A2
tetradic
#A248D8 #D85A48 #7ED848 #48C6D8
square
#A248D8 #D85A48 #7ED848 #48C6D8
split-complementary
#A248D8 #C6D848 #48D85A
monochromatic
#601D89 #8428BB #A248D8 #BC7AE3 #D5ADEE

Accessibility & contrast

On white

4.71
#A248D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A248D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248D8#FFFFFF#000000##FFFFFF
##A248D81.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3275D5
Tritanopia (blue-blind)
#9B668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a248d8;
/* rgb */ color: rgb(162, 72, 216);
/* oklch */ color: oklch(58.3% 0.216 310.0);
Tailwind
colors: {
  custom: {
    50: '#c281e5',
    500: '#a248d8',
    950: '#000000',
  },
}
SCSS
$custom: #a248d8;
$custom-light: #c281e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a248d8",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 277.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.21588,
    "h": 310
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#A248D8
secondary
#B7DBA0
accent
#E8407F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248D8

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

Preview Lab → · Contrast checker → · Palette generator →

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