#A740DD#A740DD

#A740DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.4% C 0.232 H 311.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A740DD
RGBrgb(167, 64, 221)
HSLhsl(279, 70%, 56%)
HSVhsv(279, 71%, 87%)
CMYKcmyk(24.4%, 71%, 0%, 13.3%)
CIE-LABlab(48.39, 65.96, -61.65)
CIE-LCHlch(48.39, 90.29, 316.93°)
OKLaboklab(58.43% 0.1529 -0.1744)
OKLCHoklch(58.43% 0.232 311.2)
XYZxyz(30.8184, 17.1035, 70.0704)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740DD #76DD40
analogous
#5840DD #A740DD #DD40C4
triadic
#A740DD #DDA740 #40DDA7
tetradic
#A740DD #DD5840 #76DD40 #40C4DD
square
#A740DD #DD5840 #76DD40 #40C4DD
split-complementary
#A740DD #C4DD40 #40DD58
monochromatic
#63198A #8822BE #A740DD #BF74E6 #D7A8EF

Accessibility & contrast

On white

4.75
#A740DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A740DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740DD#FFFFFF#000000##FFFFFF
##A740DD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#A0638B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a740dd;
/* rgb */ color: rgb(167, 64, 221);
/* oklch */ color: oklch(58.4% 0.232 311.2);
Tailwind
colors: {
  custom: {
    50: '#c67ee8',
    500: '#a740dd',
    950: '#000000',
  },
}
SCSS
$custom: #a740dd;
$custom-light: #c67ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a740dd",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 279.363,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.23191,
    "h": 311.2
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#A740DD
secondary
#B2DD9C
accent
#ED3B78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A740DD

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

Preview Lab → · Contrast checker → · Palette generator →

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