#A248D6#A248D6

#A248D6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.214 H 310.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A248D6
RGBrgb(162, 72, 214)
HSLhsl(278, 63%, 56%)
HSVhsv(278, 66%, 84%)
CMYKcmyk(24.3%, 66.4%, 0%, 16.1%)
CIE-LABlab(48.48, 60.05, -57.56)
CIE-LCHlch(48.48, 83.18, 316.22°)
OKLaboklab(58.21% 0.139 -0.1625)
OKLCHoklch(58.21% 0.214 310.5)
XYZxyz(29.3529, 17.1718, 65.3735)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248D6 #7CD648
analogous
#5B48D6 #A248D6 #D648C3
triadic
#A248D6 #D6A248 #48D6A2
tetradic
#A248D6 #D65B48 #7CD648 #48C3D6
square
#A248D6 #D65B48 #7CD648 #48C3D6
split-complementary
#A248D6 #C3D648 #48D65B
monochromatic
#601E86 #8329B8 #A248D6 #BB7AE1 #D5ACEC

Accessibility & contrast

On white

4.74
#A248D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A248D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248D6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248D6#FFFFFF#000000##FFFFFF
##A248D61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#3575D3
Tritanopia (blue-blind)
#9B6589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a248d6;
/* rgb */ color: rgb(162, 72, 214);
/* oklch */ color: oklch(58.2% 0.214 310.5);
Tailwind
colors: {
  custom: {
    50: '#c281e3',
    500: '#a248d6',
    950: '#000000',
  },
}
SCSS
$custom: #a248d6;
$custom-light: #c281e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a248d6",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 278.028,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.2139,
    "h": 310.5
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#A248D6
secondary
#B5DAA0
accent
#E6417E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248D6

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

Preview Lab → · Contrast checker → · Palette generator →

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