#A148E2#A148E2

#A148E2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.226 H 307.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A148E2
RGBrgb(161, 72, 226)
HSLhsl(275, 73%, 58%)
HSVhsv(275, 68%, 89%)
CMYKcmyk(28.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(49.13, 62.46, -63.33)
CIE-LCHlch(49.13, 88.95, 314.60°)
OKLaboklab(58.9% 0.1366 -0.1795)
OKLCHoklch(58.9% 0.226 307.3)
XYZxyz(30.7399, 17.7032, 73.7344)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148E2 #89E248
analogous
#5448E2 #A148E2 #E248D6
triadic
#A148E2 #E2A148 #48E2A1
tetradic
#A148E2 #E25448 #89E248 #48D6E2
square
#A148E2 #E25448 #89E248 #48D6E2
split-complementary
#A148E2 #D6E248 #48E254
monochromatic
#621898 #8420CC #A148E2 #BC7DEA #D7B2F3

Accessibility & contrast

On white

4.62
#A148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A148E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A148E2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148E2#FFFFFF#000000##FFFFFF
##A148E21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#1E75DF
Tritanopia (blue-blind)
#966A90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a148e2;
/* rgb */ color: rgb(161, 72, 226);
/* oklch */ color: oklch(58.9% 0.226 307.3);
Tailwind
colors: {
  custom: {
    50: '#c281ec',
    500: '#a148e2',
    950: '#000000',
  },
}
SCSS
$custom: #a148e2;
$custom-light: #c281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a148e2",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 274.675,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.22557,
    "h": 307.3
  },
  "luminance": 0.17703
}

Semantic roles & 50–950 ramp

primary
#A148E2
secondary
#BEE1A4
accent
#EF3886
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A148E2

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

Preview Lab → · Contrast checker → · Palette generator →

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