#A740BF#A740BF

#A740BF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.204 H 319.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A740BF
RGBrgb(167, 64, 191)
HSLhsl(289, 50%, 50%)
HSVhsv(289, 66%, 75%)
CMYKcmyk(12.6%, 66.5%, 0%, 25.1%)
CIE-LABlab(46.51, 59.96, -47.42)
CIE-LCHlch(46.51, 76.45, 321.66°)
OKLaboklab(56.49% 0.1553 -0.1326)
OKLCHoklch(56.49% 0.204 319.5)
XYZxyz(27.1725, 15.6451, 50.8686)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740BF #58BF40
analogous
#6740BF #A740BF #BF4098
triadic
#A740BF #BFA740 #40BFA7
tetradic
#A740BF #BF6740 #58BF40 #4098BF
square
#A740BF #BF6740 #58BF40 #4098BF
split-complementary
#A740BF #98BF40 #40BF67
monochromatic
#572163 #7F3191 #A740BF #BC6ECE #D19CDE

Accessibility & contrast

On white

5.09
#A740BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A740BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740BF#FFFFFF#000000##FFFFFF
##A740BF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#A7577A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a740bf;
/* rgb */ color: rgb(167, 64, 191);
/* oklch */ color: oklch(56.5% 0.204 319.5);
Tailwind
colors: {
  custom: {
    50: '#c57dd3',
    500: '#a740bf',
    950: '#000000',
  },
}
SCSS
$custom: #a740bf;
$custom-light: #c57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a740bf",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 288.661,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.20423,
    "h": 319.5
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#A740BF
secondary
#9CCA91
accent
#D94E69
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A740BF

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

Preview Lab → · Contrast checker → · Palette generator →

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