#A241E8#A241E8

#A241E8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.7% C 0.240 H 306.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A241E8
RGBrgb(162, 65, 232)
HSLhsl(275, 78%, 58%)
HSVhsv(275, 72%, 91%)
CMYKcmyk(30.2%, 72%, 0%, 9%)
CIE-LABlab(48.62, 66.93, -67.55)
CIE-LCHlch(48.62, 95.09, 314.74°)
OKLaboklab(58.7% 0.1439 -0.1919)
OKLCHoklch(58.7% 0.24 306.9)
XYZxyz(31.3529, 17.2885, 78.0136)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241E8 #87E841
analogous
#4E41E8 #A241E8 #E841DB
triadic
#A241E8 #E8A241 #41E8A2
tetradic
#A241E8 #E84E41 #87E841 #41DBE8
square
#A241E8 #E84E41 #87E841 #41DBE8
split-complementary
#A241E8 #DBE841 #41E84E
monochromatic
#62139C #8519D2 #A241E8 #BD78EF #D7AEF5

Accessibility & contrast

On white

4.71
#A241E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A241E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241E8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241E8#FFFFFF#000000##FFFFFF
##A241E81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#966991
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a241e8;
/* rgb */ color: rgb(162, 65, 232);
/* oklch */ color: oklch(58.7% 0.240 306.9);
Tailwind
colors: {
  custom: {
    50: '#c37ef0',
    500: '#a241e8',
    950: '#000000',
  },
}
SCSS
$custom: #a241e8;
$custom-light: #c37ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#a241e8",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 274.85,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.23981,
    "h": 306.9
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#A241E8
secondary
#BDE4A1
accent
#F53384
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A241E8

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

Preview Lab → · Contrast checker → · Palette generator →

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