#A148E7#A148E7

#A148E7 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.231 H 306.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A148E7
RGBrgb(161, 72, 231)
HSLhsl(274, 77%, 59%)
HSVhsv(274, 69%, 91%)
CMYKcmyk(30.3%, 68.8%, 0%, 9.4%)
CIE-LABlab(49.47, 63.57, -65.61)
CIE-LCHlch(49.47, 91.35, 314.09°)
OKLaboklab(59.25% 0.1359 -0.1862)
OKLCHoklch(59.25% 0.231 306.1)
XYZxyz(31.4360, 17.9816, 77.4005)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148E7 #8EE748
analogous
#5248E7 #A148E7 #E748DE
triadic
#A148E7 #E7A148 #48E7A1
tetradic
#A148E7 #E75248 #8EE748 #48DEE7
square
#A148E7 #E75248 #8EE748 #48DEE7
split-complementary
#A148E7 #DEE748 #48E752
monochromatic
#6315A0 #841CD6 #A148E7 #BD7EEE #D9B4F5

Accessibility & contrast

On white

4.57
#A148E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A148E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A148E7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148E7#FFFFFF#000000##000000
##A148E71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0E76E4
Tritanopia (blue-blind)
#956C92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a148e7;
/* rgb */ color: rgb(161, 72, 231);
/* oklch */ color: oklch(59.3% 0.231 306.1);
Tailwind
colors: {
  custom: {
    50: '#c282ef',
    500: '#a148e7',
    950: '#000000',
  },
}
SCSS
$custom: #a148e7;
$custom-light: #c282ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a148e7",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 273.585,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.23056,
    "h": 306.1
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#A148E7
secondary
#C2E4A6
accent
#F33488
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A148E7

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

Preview Lab → · Contrast checker → · Palette generator →

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