#A148EC#A148EC

#A148EC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.236 H 305.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A148EC
RGBrgb(161, 72, 236)
HSLhsl(273, 81%, 60%)
HSVhsv(273, 69%, 93%)
CMYKcmyk(31.8%, 69.5%, 0%, 7.5%)
CIE-LABlab(49.82, 64.68, -67.87)
CIE-LCHlch(49.82, 93.75, 313.62°)
OKLaboklab(59.61% 0.1352 -0.1929)
OKLCHoklch(59.61% 0.236 305)
XYZxyz(32.1522, 18.2681, 81.1729)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148EC #93EC48
analogous
#4F48EC #A148EC #EC48E5
triadic
#A148EC #ECA148 #48ECA1
tetradic
#A148EC #EC4F48 #93EC48 #48E5EC
square
#A148EC #EC4F48 #93EC48 #48E5EC
split-complementary
#A148EC #E5EC48 #48EC4F
monochromatic
#6311A8 #8417E0 #A148EC #BD7FF2 #DAB7F8

Accessibility & contrast

On white

4.51
#A148EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A148EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A148EC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148EC#FFFFFF#000000##000000
##A148EC1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#936E95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a148ec;
/* rgb */ color: rgb(161, 72, 236);
/* oklch */ color: oklch(59.6% 0.236 305.0);
Tailwind
colors: {
  custom: {
    50: '#c282f3',
    500: '#a148ec',
    950: '#000000',
  },
}
SCSS
$custom: #a148ec;
$custom-light: #c282f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a148ec",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 272.561,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.23555,
    "h": 305
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#A148EC
secondary
#C5E7A9
accent
#DE086A
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #A148EC

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

Preview Lab → · Contrast checker → · Palette generator →

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