#A241EA#A241EA

#A241EA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.8% C 0.242 H 306.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A241EA
RGBrgb(162, 65, 234)
HSLhsl(274, 80%, 59%)
HSVhsv(274, 72%, 92%)
CMYKcmyk(30.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(48.76, 67.37, -68.45)
CIE-LCHlch(48.76, 96.04, 314.54°)
OKLaboklab(58.84% 0.1435 -0.1945)
OKLCHoklch(58.84% 0.242 306.4)
XYZxyz(31.6386, 17.4028, 79.5183)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241EA #89EA41
analogous
#4D41EA #A241EA #EA41DD
triadic
#A241EA #EAA241 #41EAA2
tetradic
#A241EA #EA4D41 #89EA41 #41DDEA
square
#A241EA #EA4D41 #89EA41 #41DDEA
split-complementary
#A241EA #DDEA41 #41EA4D
monochromatic
#63129F #8518D6 #A241EA #BD78F0 #D8AFF6

Accessibility & contrast

On white

4.69
#A241EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A241EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241EA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241EA#FFFFFF#000000##FFFFFF
##A241EA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#956992
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a241ea;
/* rgb */ color: rgb(162, 65, 234);
/* oklch */ color: oklch(58.8% 0.242 306.4);
Tailwind
colors: {
  custom: {
    50: '#c37ef2',
    500: '#a241ea',
    950: '#000000',
  },
}
SCSS
$custom: #a241ea;
$custom-light: #c37ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a241ea",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 274.438,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.24173,
    "h": 306.4
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#A241EA
secondary
#BEE5A2
accent
#F73185
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A241EA

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

Preview Lab → · Contrast checker → · Palette generator →

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