#A241BC#A241BC

#A241BC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.198 H 318.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A241BC
RGBrgb(162, 65, 188)
HSLhsl(287, 49%, 50%)
HSVhsv(287, 65%, 74%)
CMYKcmyk(13.8%, 65.4%, 0%, 26.3%)
CIE-LABlab(45.76, 57.80, -46.90)
CIE-LCHlch(45.76, 74.44, 320.94°)
OKLaboklab(55.75% 0.1482 -0.1313)
OKLCHoklch(55.75% 0.198 318.5)
XYZxyz(25.8665, 15.0939, 49.1181)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241BC #5BBC41
analogous
#6441BC #A241BC #BC4199
triadic
#A241BC #BCA241 #41BCA2
tetradic
#A241BC #BC6441 #5BBC41 #4199BC
square
#A241BC #BC6441 #5BBC41 #4199BC
split-complementary
#A241BC #99BC41 #41BC64
monochromatic
#542261 #7B318F #A241BC #B96ECD #CF9BDC

Accessibility & contrast

On white

5.23
#A241BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A241BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241BC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241BC#FFFFFF#000000##FFFFFF
##A241BC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#4770B9
Tritanopia (blue-blind)
#A25779
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a241bc;
/* rgb */ color: rgb(162, 65, 188);
/* oklch */ color: oklch(55.7% 0.198 318.5);
Tailwind
colors: {
  custom: {
    50: '#c17cd1',
    500: '#a241bc',
    950: '#000000',
  },
}
SCSS
$custom: #a241bc;
$custom-light: #c17cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a241bc",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 287.317,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.19799,
    "h": 318.5
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#A241BC
secondary
#9CC990
accent
#D8506C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A241BC

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

Preview Lab → · Contrast checker → · Palette generator →

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