#A148F1#A148F1

#A148F1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.0% C 0.241 H 304.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A148F1
RGBrgb(161, 72, 241)
HSLhsl(272, 86%, 61%)
HSVhsv(272, 70%, 95%)
CMYKcmyk(33.2%, 70.1%, 0%, 5.5%)
CIE-LABlab(50.17, 65.80, -70.10)
CIE-LCHlch(50.17, 96.15, 313.19°)
OKLaboklab(59.97% 0.1345 -0.1994)
OKLCHoklch(59.97% 0.241 304)
XYZxyz(32.8888, 18.5628, 85.0523)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148F1 #98F148
analogous
#4D48F1 #A148F1 #F148EC
triadic
#A148F1 #F1A148 #48F1A1
tetradic
#A148F1 #F14D48 #98F148 #48ECF1
square
#A148F1 #F14D48 #98F148 #48ECF1
split-complementary
#A148F1 #ECF148 #48F14D
monochromatic
#640EB1 #8412EA #A148F1 #BE81F5 #DBBAFA

Accessibility & contrast

On white

4.46
#A148F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A148F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A148F1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148F1#FFFFFF#000000##000000
##A148F11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#917098
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a148f1;
/* rgb */ color: rgb(161, 72, 241);
/* oklch */ color: oklch(60.0% 0.241 304.0);
Tailwind
colors: {
  custom: {
    50: '#c382f7',
    500: '#a148f1',
    950: '#000000',
  },
}
SCSS
$custom: #a148f1;
$custom-light: #c382f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a148f1",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 241
  },
  "hsl": {
    "h": 271.598,
    "s": 85.787,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.24053,
    "h": 304
  },
  "luminance": 0.18563
}

Semantic roles & 50–950 ramp

primary
#A148F1
secondary
#C9EAAB
accent
#E2036D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A148F1

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

Preview Lab → · Contrast checker → · Palette generator →

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