#A248D4#A248D4

#A248D4 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.212 H 311.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A248D4
RGBrgb(162, 72, 212)
HSLhsl(279, 62%, 56%)
HSVhsv(279, 66%, 83%)
CMYKcmyk(23.6%, 66%, 0%, 16.9%)
CIE-LABlab(48.35, 59.63, -56.62)
CIE-LCHlch(48.35, 82.23, 316.48°)
OKLaboklab(58.08% 0.1392 -0.1598)
OKLCHoklch(58.08% 0.212 311.1)
XYZxyz(29.0991, 17.0703, 64.0366)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248D4 #7AD448
analogous
#5C48D4 #A248D4 #D448C0
triadic
#A248D4 #D4A248 #48D4A2
tetradic
#A248D4 #D45C48 #7AD448 #48C0D4
square
#A248D4 #D45C48 #7AD448 #48C0D4
split-complementary
#A248D4 #C0D448 #48D45C
monochromatic
#5F1F83 #832AB4 #A248D4 #BB7AE0 #D4ABEB

Accessibility & contrast

On white

4.76
#A248D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A248D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248D4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248D4#FFFFFF#000000##FFFFFF
##A248D41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#3774D1
Tritanopia (blue-blind)
#9C6588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a248d4;
/* rgb */ color: rgb(162, 72, 212);
/* oklch */ color: oklch(58.1% 0.212 311.1);
Tailwind
colors: {
  custom: {
    50: '#c281e2',
    500: '#a248d4',
    950: '#000000',
  },
}
SCSS
$custom: #a248d4;
$custom-light: #c281e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a248d4",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 278.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.21191,
    "h": 311.1
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#A248D4
secondary
#B4D99F
accent
#E5437D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A248D4

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

Preview Lab → · Contrast checker → · Palette generator →

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