#A248D3#A248D3

#A248D3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.211 H 311.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A248D3
RGBrgb(162, 72, 211)
HSLhsl(279, 61%, 55%)
HSVhsv(279, 66%, 83%)
CMYKcmyk(23.2%, 65.9%, 0%, 17.3%)
CIE-LABlab(48.29, 59.41, -56.15)
CIE-LCHlch(48.29, 81.75, 316.62°)
OKLaboklab(58.01% 0.1393 -0.1584)
OKLCHoklch(58.01% 0.211 311.3)
XYZxyz(28.9733, 17.0200, 63.3743)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248D3 #79D348
analogous
#5C48D3 #A248D3 #D348BE
triadic
#A248D3 #D3A248 #48D3A2
tetradic
#A248D3 #D35C48 #79D348 #48BED3
square
#A248D3 #D35C48 #79D348 #48BED3
split-complementary
#A248D3 #BED348 #48D35C
monochromatic
#5F1F81 #832BB3 #A248D3 #BB79DF #D4ABEB

Accessibility & contrast

On white

4.77
#A248D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A248D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248D3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248D3#FFFFFF#000000##FFFFFF
##A248D31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#3874D0
Tritanopia (blue-blind)
#9C6488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a248d3;
/* rgb */ color: rgb(162, 72, 211);
/* oklch */ color: oklch(58.0% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#c181e1',
    500: '#a248d3',
    950: '#000000',
  },
}
SCSS
$custom: #a248d3;
$custom-light: #c181e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a248d3",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 278.849,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.21092,
    "h": 311.3
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#A248D3
secondary
#B3D89E
accent
#E4437C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A248D3

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

Preview Lab → · Contrast checker → · Palette generator →

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