#A740BB#A740BB

#A740BB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.2% C 0.201 H 320.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A740BB
RGBrgb(167, 64, 187)
HSLhsl(290, 49%, 49%)
HSVhsv(290, 66%, 73%)
CMYKcmyk(10.7%, 65.8%, 0%, 26.7%)
CIE-LABlab(46.27, 59.20, -45.46)
CIE-LCHlch(46.27, 74.64, 322.48°)
OKLaboklab(56.24% 0.1553 -0.1269)
OKLCHoklch(56.24% 0.201 320.8)
XYZxyz(26.7383, 15.4715, 48.5820)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740BB #54BB40
analogous
#6A40BB #A740BB #BB4092
triadic
#A740BB #BBA740 #40BBA7
tetradic
#A740BB #BB6A40 #54BB40 #4092BB
square
#A740BB #BB6A40 #54BB40 #4092BB
split-complementary
#A740BB #92BB40 #40BB6A
monochromatic
#562160 #7E308D #A740BB #BD6CCD #D199DC

Accessibility & contrast

On white

5.13
#A740BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A740BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740BB#FFFFFF#000000##FFFFFF
##A740BB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#A85578
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a740bb;
/* rgb */ color: rgb(167, 64, 187);
/* oklch */ color: oklch(56.2% 0.201 320.8);
Tailwind
colors: {
  custom: {
    50: '#c47cd0',
    500: '#a740bb',
    950: '#000000',
  },
}
SCSS
$custom: #a740bb;
$custom-light: #c47cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a740bb",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 290.244,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56243,
    "c": 0.2006,
    "h": 320.8
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#A740BB
secondary
#98C88F
accent
#D94F66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A740BB

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

Preview Lab → · Contrast checker → · Palette generator →

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