#A248DC#A248DC

#A248DC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.220 H 309.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A248DC
RGBrgb(162, 72, 220)
HSLhsl(276, 68%, 57%)
HSVhsv(276, 67%, 86%)
CMYKcmyk(26.4%, 67.3%, 0%, 13.7%)
CIE-LABlab(48.86, 61.35, -60.35)
CIE-LCHlch(48.86, 86.06, 315.47°)
OKLaboklab(58.61% 0.1385 -0.1708)
OKLCHoklch(58.61% 0.22 309)
XYZxyz(30.1333, 17.4840, 69.4836)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248DC #82DC48
analogous
#5848DC #A248DC #DC48CC
triadic
#A248DC #DCA248 #48DCA2
tetradic
#A248DC #DC5848 #82DC48 #48CCDC
square
#A248DC #DC5848 #82DC48 #48CCDC
split-complementary
#A248DC #CCDC48 #48DC58
monochromatic
#611B8E #8425C2 #A248DC #BC7BE6 #D6AFF0

Accessibility & contrast

On white

4.67
#A248DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A248DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A248DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248DC#FFFFFF#000000##FFFFFF
##A248DC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#99688C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a248dc;
/* rgb */ color: rgb(162, 72, 220);
/* oklch */ color: oklch(58.6% 0.220 309.0);
Tailwind
colors: {
  custom: {
    50: '#c281e8',
    500: '#a248dc',
    950: '#000000',
  },
}
SCSS
$custom: #a248dc;
$custom-light: #c281e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a248dc",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 276.486,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.21987,
    "h": 309
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#A248DC
secondary
#B9DEA2
accent
#EB3D81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248DC

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

Preview Lab → · Contrast checker → · Palette generator →

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