#A240BE#A240BE

#A240BE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.8% C 0.201 H 317.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A240BE
RGBrgb(162, 64, 190)
HSLhsl(287, 50%, 50%)
HSVhsv(287, 66%, 75%)
CMYKcmyk(14.7%, 66.3%, 0%, 25.5%)
CIE-LABlab(45.73, 58.63, -48.13)
CIE-LCHlch(45.73, 75.85, 320.62°)
OKLaboklab(55.76% 0.1493 -0.1349)
OKLCHoklch(55.76% 0.201 317.9)
XYZxyz(26.0266, 15.0670, 50.2425)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A240BE #5CBE40
analogous
#6340BE #A240BE #BE409B
triadic
#A240BE #BEA240 #40BEA2
tetradic
#A240BE #BE6340 #5CBE40 #409BBE
square
#A240BE #BE6340 #5CBE40 #409BBE
split-complementary
#A240BE #9BBE40 #40BE63
monochromatic
#542162 #7B3190 #A240BE #B86DCE #CF9BDD

Accessibility & contrast

On white

5.23
#A240BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A240BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A240BE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A240BE#FFFFFF#000000##FFFFFF
##A240BE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C2
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#A1577A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a240be;
/* rgb */ color: rgb(162, 64, 190);
/* oklch */ color: oklch(55.8% 0.201 317.9);
Tailwind
colors: {
  custom: {
    50: '#c17cd2',
    500: '#a240be',
    950: '#000000',
  },
}
SCSS
$custom: #a240be;
$custom-light: #c17cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a240be",
  "rgb": {
    "r": 162,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 286.667,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.20118,
    "h": 317.9
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#A240BE
secondary
#9DC990
accent
#D94F6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A240BE

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

Preview Lab → · Contrast checker → · Palette generator →

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