#A241B7#A241B7

#A241B7 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.193 H 320.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A241B7
RGBrgb(162, 65, 183)
HSLhsl(289, 48%, 49%)
HSVhsv(289, 64%, 72%)
CMYKcmyk(11.5%, 64.5%, 0%, 28.2%)
CIE-LABlab(45.47, 56.82, -44.44)
CIE-LCHlch(45.47, 72.14, 321.97°)
OKLaboklab(55.44% 0.1483 -0.1241)
OKLCHoklch(55.44% 0.193 320.1)
XYZxyz(25.3368, 14.8821, 46.3285)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241B7 #56B741
analogous
#6741B7 #A241B7 #B74191
triadic
#A241B7 #B7A241 #41B7A2
tetradic
#A241B7 #B76741 #56B741 #4191B7
square
#A241B7 #B76741 #56B741 #4191B7
split-complementary
#A241B7 #91B741 #41B767
monochromatic
#52215D #7A318A #A241B7 #B96BCA #CF98DA

Accessibility & contrast

On white

5.28
#A241B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A241B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241B7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241B7#FFFFFF#000000##FFFFFF
##A241B71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#4B6FB4
Tritanopia (blue-blind)
#A35576
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a241b7;
/* rgb */ color: rgb(162, 65, 183);
/* oklch */ color: oklch(55.4% 0.193 320.1);
Tailwind
colors: {
  custom: {
    50: '#c17ccd',
    500: '#a241b7',
    950: '#000000',
  },
}
SCSS
$custom: #a241b7;
$custom-light: #c17ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#a241b7",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 289.322,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.19334,
    "h": 320.1
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#A241B7
secondary
#98C68E
accent
#D75169
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A241B7

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

Preview Lab → · Contrast checker → · Palette generator →

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