#A241DC#A241DC

#A241DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.8% C 0.228 H 309.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A241DC
RGBrgb(162, 65, 220)
HSLhsl(278, 69%, 56%)
HSVhsv(278, 70%, 86%)
CMYKcmyk(26.4%, 70.5%, 0%, 13.7%)
CIE-LABlab(47.79, 64.36, -62.09)
CIE-LCHlch(47.79, 89.43, 316.03°)
OKLaboklab(57.84% 0.1457 -0.1758)
OKLCHoklch(57.84% 0.228 309.6)
XYZxyz(29.7063, 16.6299, 69.3413)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241DC #7BDC41
analogous
#5441DC #A241DC #DC41C9
triadic
#A241DC #DCA241 #41DCA2
tetradic
#A241DC #DC5441 #7BDC41 #41C9DC
square
#A241DC #DC5441 #7BDC41 #41C9DC
split-complementary
#A241DC #C9DC41 #41DC54
monochromatic
#5F1989 #8323BD #A241DC #BB75E6 #D5A8EF

Accessibility & contrast

On white

4.85
#A241DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A241DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241DC#FFFFFF#000000##FFFFFF
##A241DC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#9A648A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a241dc;
/* rgb */ color: rgb(162, 65, 220);
/* oklch */ color: oklch(57.8% 0.228 309.6);
Tailwind
colors: {
  custom: {
    50: '#c27ee8',
    500: '#a241dc',
    950: '#000000',
  },
}
SCSS
$custom: #a241dc;
$custom-light: #c27ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a241dc",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 277.548,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.22832,
    "h": 309.6
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#A241DC
secondary
#B4DD9C
accent
#EC3C7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A241DC

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

Preview Lab → · Contrast checker → · Palette generator →

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