#A241FF#A241FF

#A241FF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.4% C 0.262 H 302.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A241FF
RGBrgb(162, 65, 255)
HSLhsl(271, 100%, 63%)
HSVhsv(271, 75%, 100%)
CMYKcmyk(36.5%, 74.5%, 0%, 0%)
CIE-LABlab(50.31, 71.99, -77.68)
CIE-LCHlch(50.31, 105.91, 312.82°)
OKLaboklab(60.42% 0.1393 -0.2216)
OKLCHoklch(60.42% 0.262 302.2)
XYZxyz(34.8362, 18.6819, 96.3590)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241FF #9EFF41
analogous
#4341FF #A241FF #FF41FD
triadic
#A241FF #FFA241 #41FFA2
tetradic
#A241FF #FF4341 #9EFF41 #41FDFF
square
#A241FF #FF4341 #9EFF41 #41FDFF
split-complementary
#A241FF #FDFF41 #41FF43
monochromatic
#6500C6 #8404FF #A241FF #C07EFF #DEBBFF

Accessibility & contrast

On white

4.43
#A241FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A241FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A241FF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241FF#FFFFFF#000000##000000
##A241FF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#8E729E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a241ff;
/* rgb */ color: rgb(162, 65, 255);
/* oklch */ color: oklch(60.4% 0.262 302.2);
Tailwind
colors: {
  custom: {
    50: '#c57fff',
    500: '#a241ff',
    950: '#000000',
  },
}
SCSS
$custom: #a241ff;
$custom-light: #c57fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a241ff",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 255
  },
  "hsl": {
    "h": 270.632,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.2618,
    "h": 302.2
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#A241FF
secondary
#CDF0AC
accent
#E60070
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A241FF

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

Preview Lab → · Contrast checker → · Palette generator →

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