#A948E8#A948E8

#A948E8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.3% C 0.234 H 308.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A948E8
RGBrgb(169, 72, 232)
HSLhsl(276, 78%, 60%)
HSVhsv(276, 69%, 91%)
CMYKcmyk(27.2%, 69%, 0%, 9%)
CIE-LABlab(50.57, 65.36, -64.36)
CIE-LCHlch(50.57, 91.72, 315.44°)
OKLaboklab(60.27% 0.1461 -0.1823)
OKLCHoklch(60.27% 0.234 308.7)
XYZxyz(33.2421, 18.8965, 78.2245)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A948E8 #87E848
analogous
#5948E8 #A948E8 #E848D7
triadic
#A948E8 #E8A948 #48E8A9
tetradic
#A948E8 #E85948 #87E848 #48D7E8
square
#A948E8 #E85948 #87E848 #48D7E8
split-complementary
#A948E8 #D7E848 #48E859
monochromatic
#6A14A1 #8D1BD8 #A948E8 #C37EEF #DCB5F6

Accessibility & contrast

On white

4.39
#A948E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A948E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A948E8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A948E8#FFFFFF#000000##000000
##A948E81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#247AE5
Tritanopia (blue-blind)
#9F6B93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a948e8;
/* rgb */ color: rgb(169, 72, 232);
/* oklch */ color: oklch(60.3% 0.234 308.7);
Tailwind
colors: {
  custom: {
    50: '#c782f0',
    500: '#a948e8',
    950: '#000000',
  },
}
SCSS
$custom: #a948e8;
$custom-light: #c782f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a948e8",
  "rgb": {
    "r": 169,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 276.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.23363,
    "h": 308.7
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#A948E8
secondary
#BFE5A7
accent
#F4347F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A948E8

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

Preview Lab → · Contrast checker → · Palette generator →

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