#A740BE#A740BE

#A740BE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.203 H 319.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A740BE
RGBrgb(167, 64, 190)
HSLhsl(289, 50%, 50%)
HSVhsv(289, 66%, 75%)
CMYKcmyk(12.1%, 66.3%, 0%, 25.5%)
CIE-LABlab(46.45, 59.77, -46.93)
CIE-LCHlch(46.45, 75.99, 321.86°)
OKLaboklab(56.42% 0.1553 -0.1312)
OKLCHoklch(56.42% 0.203 319.8)
XYZxyz(27.0628, 15.6013, 50.2910)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740BE #57BE40
analogous
#6840BE #A740BE #BE4096
triadic
#A740BE #BEA740 #40BEA7
tetradic
#A740BE #BE6840 #57BE40 #4096BE
square
#A740BE #BE6840 #57BE40 #4096BE
split-complementary
#A740BE #96BE40 #40BE68
monochromatic
#572162 #7F3190 #A740BE #BC6DCE #D19BDD

Accessibility & contrast

On white

5.10
#A740BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A740BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740BE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740BE#FFFFFF#000000##FFFFFF
##A740BE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#A8567A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a740be;
/* rgb */ color: rgb(167, 64, 190);
/* oklch */ color: oklch(56.4% 0.203 319.8);
Tailwind
colors: {
  custom: {
    50: '#c47dd2',
    500: '#a740be',
    950: '#000000',
  },
}
SCSS
$custom: #a740be;
$custom-light: #c47dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a740be",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 289.048,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.20332,
    "h": 319.8
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#A740BE
secondary
#9BC990
accent
#D94F68
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A740BE

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

Preview Lab → · Contrast checker → · Palette generator →

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