#A241DB#A241DB

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

Color values

HEX#A241DB
RGBrgb(162, 65, 219)
HSLhsl(278, 68%, 56%)
HSVhsv(278, 70%, 86%)
CMYKcmyk(26%, 70.3%, 0%, 14.1%)
CIE-LABlab(47.72, 64.15, -61.63)
CIE-LCHlch(47.72, 88.95, 316.15°)
OKLaboklab(57.78% 0.1458 -0.1745)
OKLCHoklch(57.78% 0.227 309.9)
XYZxyz(29.5743, 16.5771, 68.6458)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241DB #7ADB41
analogous
#5541DB #A241DB #DB41C7
triadic
#A241DB #DBA241 #41DBA2
tetradic
#A241DB #DB5541 #7ADB41 #41C7DB
square
#A241DB #DB5541 #7ADB41 #41C7DB
split-complementary
#A241DB #C7DB41 #41DB55
monochromatic
#5F1A88 #8323BB #A241DB #BB74E5 #D4A8EE

Accessibility & contrast

On white

4.87
#A241DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A241DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241DB#FFFFFF#000000##FFFFFF
##A241DB1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#9A638A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a241db;
/* rgb */ color: rgb(162, 65, 219);
/* oklch */ color: oklch(57.8% 0.227 309.9);
Tailwind
colors: {
  custom: {
    50: '#c27ee7',
    500: '#a241db',
    950: '#000000',
  },
}
SCSS
$custom: #a241db;
$custom-light: #c27ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a241db",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 277.792,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.22738,
    "h": 309.9
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#A241DB
secondary
#B4DC9C
accent
#EB3D7D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A241DB

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

Preview Lab → · Contrast checker → · Palette generator →

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