#A948E1#A948E1

#A948E1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.8% C 0.227 H 310.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A948E1
RGBrgb(169, 72, 225)
HSLhsl(278, 72%, 58%)
HSVhsv(278, 68%, 88%)
CMYKcmyk(24.9%, 68%, 0%, 11.8%)
CIE-LABlab(50.10, 63.87, -61.14)
CIE-LCHlch(50.10, 88.42, 316.25°)
OKLaboklab(59.8% 0.1469 -0.1729)
OKLCHoklch(59.8% 0.227 310.4)
XYZxyz(32.2675, 18.5067, 73.0919)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A948E1 #80E148
analogous
#5C48E1 #A948E1 #E148CD
triadic
#A948E1 #E1A948 #48E1A9
tetradic
#A948E1 #E15C48 #80E148 #48CDE1
square
#A948E1 #E15C48 #80E148 #48CDE1
split-complementary
#A948E1 #CDE148 #48E15C
monochromatic
#681996 #8D21CB #A948E1 #C27DEA #DAB1F2

Accessibility & contrast

On white

4.47
#A948E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A948E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A948E1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A948E1#FFFFFF#000000##000000
##A948E11.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#A1698F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a948e1;
/* rgb */ color: rgb(169, 72, 225);
/* oklch */ color: oklch(59.8% 0.227 310.4);
Tailwind
colors: {
  custom: {
    50: '#c782eb',
    500: '#a948e1',
    950: '#000000',
  },
}
SCSS
$custom: #a948e1;
$custom-light: #c782eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a948e1",
  "rgb": {
    "r": 169,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 278.039,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.22685,
    "h": 310.4
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#A948E1
secondary
#BAE1A4
accent
#EF397C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A948E1

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

Preview Lab → · Contrast checker → · Palette generator →

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