#A740CB#A740CB

#A740CB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.215 H 316.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A740CB
RGBrgb(167, 64, 203)
HSLhsl(284, 57%, 52%)
HSVhsv(284, 68%, 80%)
CMYKcmyk(17.7%, 68.5%, 0%, 20.4%)
CIE-LABlab(47.23, 62.31, -53.21)
CIE-LCHlch(47.23, 81.94, 319.50°)
OKLaboklab(57.24% 0.1547 -0.1496)
OKLCHoklch(57.24% 0.215 316)
XYZxyz(28.5476, 16.1952, 58.1105)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740CB #64CB40
analogous
#6140CB #A740CB #CB40AA
triadic
#A740CB #CBA740 #40CBA7
tetradic
#A740CB #CB6140 #64CB40 #40AACB
square
#A740CB #CB6140 #64CB40 #40AACB
split-complementary
#A740CB #AACB40 #40CB61
monochromatic
#5C1F72 #832CA2 #A740CB #BD70D8 #D3A0E5

Accessibility & contrast

On white

4.95
#A740CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A740CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740CB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740CB#FFFFFF#000000##FFFFFF
##A740CB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#A55B81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a740cb;
/* rgb */ color: rgb(167, 64, 203);
/* oklch */ color: oklch(57.2% 0.215 316.0);
Tailwind
colors: {
  custom: {
    50: '#c57ddb',
    500: '#a740cb',
    950: '#000000',
  },
}
SCSS
$custom: #a740cb;
$custom-light: #c57ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a740cb",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 284.46,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.21522,
    "h": 316
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#A740CB
secondary
#A5D295
accent
#E0476F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740CB

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

Preview Lab → · Contrast checker → · Palette generator →

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