#A241B2#A241B2

#A241B2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.189 H 321.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A241B2
RGBrgb(162, 65, 178)
HSLhsl(292, 47%, 48%)
HSVhsv(292, 63%, 70%)
CMYKcmyk(9%, 63.5%, 0%, 30.2%)
CIE-LABlab(45.19, 55.87, -41.96)
CIE-LCHlch(45.19, 69.87, 323.09°)
OKLaboklab(55.15% 0.1482 -0.1169)
OKLCHoklch(55.15% 0.189 321.7)
XYZxyz(24.8256, 14.6776, 43.6363)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241B2 #51B241
analogous
#6941B2 #A241B2 #B2418A
triadic
#A241B2 #B2A241 #41B2A2
tetradic
#A241B2 #B26941 #51B241 #418AB2
square
#A241B2 #B26941 #51B241 #418AB2
split-complementary
#A241B2 #8AB241 #41B269
monochromatic
#502058 #793185 #A241B2 #BA68C8 #CF95D8

Accessibility & contrast

On white

5.34
#A241B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A241B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241B2#FFFFFF#000000##FFFFFF
##A241B21.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#A45374
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a241b2;
/* rgb */ color: rgb(162, 65, 178);
/* oklch */ color: oklch(55.1% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#c17cc9',
    500: '#a241b2',
    950: '#000000',
  },
}
SCSS
$custom: #a241b2;
$custom-light: #c17cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a241b2",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 291.504,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.18873,
    "h": 321.7
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#A241B2
secondary
#93C48B
accent
#D65264
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A241B2

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

Preview Lab → · Contrast checker → · Palette generator →

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