#A241BA#A241BA

#A241BA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.196 H 319.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A241BA
RGBrgb(162, 65, 186)
HSLhsl(288, 48%, 49%)
HSVhsv(288, 65%, 73%)
CMYKcmyk(12.9%, 65.1%, 0%, 27.1%)
CIE-LABlab(45.65, 57.41, -45.92)
CIE-LCHlch(45.65, 73.51, 321.34°)
OKLaboklab(55.62% 0.1482 -0.1284)
OKLCHoklch(55.62% 0.196 319.1)
XYZxyz(25.6524, 15.0083, 47.9905)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241BA #59BA41
analogous
#6641BA #A241BA #BA4196
triadic
#A241BA #BAA241 #41BAA2
tetradic
#A241BA #BA6641 #59BA41 #4196BA
square
#A241BA #BA6641 #59BA41 #4196BA
split-complementary
#A241BA #96BA41 #41BA66
monochromatic
#53215F #7B318D #A241BA #B96CCC #CF9ADC

Accessibility & contrast

On white

5.25
#A241BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A241BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241BA#FFFFFF#000000##FFFFFF
##A241BA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#A25678
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a241ba;
/* rgb */ color: rgb(162, 65, 186);
/* oklch */ color: oklch(55.6% 0.196 319.1);
Tailwind
colors: {
  custom: {
    50: '#c17ccf',
    500: '#a241ba',
    950: '#000000',
  },
}
SCSS
$custom: #a241ba;
$custom-light: #c17ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#a241ba",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 288.099,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.19613,
    "h": 319.1
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#A241BA
secondary
#9AC88F
accent
#D8506B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A241BA

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

Preview Lab → · Contrast checker → · Palette generator →

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