#A740BC#A740BC

#A740BC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.202 H 320.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A740BC
RGBrgb(167, 64, 188)
HSLhsl(290, 49%, 49%)
HSVhsv(290, 66%, 74%)
CMYKcmyk(11.2%, 66%, 0%, 26.3%)
CIE-LABlab(46.33, 59.39, -45.95)
CIE-LCHlch(46.33, 75.09, 322.27°)
OKLaboklab(56.3% 0.1553 -0.1284)
OKLCHoklch(56.3% 0.202 320.4)
XYZxyz(26.8458, 15.5144, 49.1477)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740BC #55BC40
analogous
#6940BC #A740BC #BC4093
triadic
#A740BC #BCA740 #40BCA7
tetradic
#A740BC #BC6940 #55BC40 #4093BC
square
#A740BC #BC6940 #55BC40 #4093BC
split-complementary
#A740BC #93BC40 #40BC69
monochromatic
#562161 #7E308E #A740BC #BD6CCD #D19ADD

Accessibility & contrast

On white

5.12
#A740BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A740BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740BC#FFFFFF#000000##FFFFFF
##A740BC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#A85579
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a740bc;
/* rgb */ color: rgb(167, 64, 188);
/* oklch */ color: oklch(56.3% 0.202 320.4);
Tailwind
colors: {
  custom: {
    50: '#c47cd1',
    500: '#a740bc',
    950: '#000000',
  },
}
SCSS
$custom: #a740bc;
$custom-light: #c47cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a740bc",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 289.839,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.20151,
    "h": 320.4
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#A740BC
secondary
#99C98F
accent
#D94F66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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