#A241DD#A241DD

#A241DD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.9% C 0.229 H 309.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A241DD
RGBrgb(162, 65, 221)
HSLhsl(277, 70%, 56%)
HSVhsv(277, 71%, 87%)
CMYKcmyk(26.7%, 70.6%, 0%, 13.3%)
CIE-LABlab(47.86, 64.57, -62.55)
CIE-LCHlch(47.86, 89.90, 315.91°)
OKLaboklab(57.91% 0.1456 -0.1772)
OKLCHoklch(57.91% 0.229 309.4)
XYZxyz(29.8391, 16.6830, 70.0408)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241DD #7CDD41
analogous
#5441DD #A241DD #DD41CA
triadic
#A241DD #DDA241 #41DDA2
tetradic
#A241DD #DD5441 #7CDD41 #41CADD
square
#A241DD #DD5441 #7CDD41 #41CADD
split-complementary
#A241DD #CADD41 #41DD54
monochromatic
#60198B #8322BF #A241DD #BB75E6 #D5A9F0

Accessibility & contrast

On white

4.84
#A241DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A241DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241DD#FFFFFF#000000##FFFFFF
##A241DD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#1F73DA
Tritanopia (blue-blind)
#99648B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a241dd;
/* rgb */ color: rgb(162, 65, 221);
/* oklch */ color: oklch(57.9% 0.229 309.4);
Tailwind
colors: {
  custom: {
    50: '#c27ee8',
    500: '#a241dd',
    950: '#000000',
  },
}
SCSS
$custom: #a241dd;
$custom-light: #c27ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a241dd",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 277.308,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.22928,
    "h": 309.4
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#A241DD
secondary
#B5DD9D
accent
#EC3B7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A241DD

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

Preview Lab → · Contrast checker → · Palette generator →

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