#A241D7#A241D7

#A241D7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.224 H 310.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A241D7
RGBrgb(162, 65, 215)
HSLhsl(279, 65%, 55%)
HSVhsv(279, 70%, 84%)
CMYKcmyk(24.7%, 69.8%, 0%, 15.7%)
CIE-LABlab(47.45, 63.30, -59.78)
CIE-LCHlch(47.45, 87.07, 316.64°)
OKLaboklab(57.5% 0.1463 -0.169)
OKLCHoklch(57.5% 0.224 310.9)
XYZxyz(29.0540, 16.3690, 65.9058)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241D7 #76D741
analogous
#5741D7 #A241D7 #D741C1
triadic
#A241D7 #D7A241 #41D7A2
tetradic
#A241D7 #D75741 #76D741 #41C1D7
square
#A241D7 #D75741 #76D741 #41C1D7
split-complementary
#A241D7 #C1D741 #41D757
monochromatic
#5E1B82 #8226B5 #A241D7 #BB74E2 #D3A6EC

Accessibility & contrast

On white

4.91
#A241D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A241D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241D7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241D7#FFFFFF#000000##FFFFFF
##A241D71.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#2A72D4
Tritanopia (blue-blind)
#9B6288
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a241d7;
/* rgb */ color: rgb(162, 65, 215);
/* oklch */ color: oklch(57.5% 0.224 310.9);
Tailwind
colors: {
  custom: {
    50: '#c27de4',
    500: '#a241d7',
    950: '#000000',
  },
}
SCSS
$custom: #a241d7;
$custom-light: #c27de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a241d7",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 278.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.22355,
    "h": 310.9
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#A241D7
secondary
#B1D99A
accent
#E8407B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A241D7

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

Preview Lab → · Contrast checker → · Palette generator →

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