#8740DD#8740DD

#8740DD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.225 H 299.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8740DD
RGBrgb(135, 64, 221)
HSLhsl(267, 70%, 56%)
HSVhsv(267, 71%, 87%)
CMYKcmyk(38.9%, 71%, 0%, 13.3%)
CIE-LABlab(44.29, 59.96, -68.50)
CIE-LCHlch(44.29, 91.03, 311.20°)
OKLaboklab(54.64% 0.1105 -0.1955)
OKLCHoklch(54.64% 0.225 299.5)
XYZxyz(24.8729, 14.0379, 69.7917)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8740DD #96DD40
analogous
#4047DD #8740DD #D640DD
triadic
#8740DD #DD8740 #40DD87
tetradic
#8740DD #DD4047 #96DD40 #40DDD6
square
#8740DD #DD4047 #96DD40 #40DDD6
split-complementary
#8740DD #DDD640 #47DD40
monochromatic
#4C198A #6822BE #8740DD #A874E6 #C8A8EF

Accessibility & contrast

On white

5.52
#8740DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8740DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8740DD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8740DD#FFFFFF#000000##FFFFFF
##8740DD1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#73678B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8740dd;
/* rgb */ color: rgb(135, 64, 221);
/* oklch */ color: oklch(54.6% 0.225 299.5);
Tailwind
colors: {
  custom: {
    50: '#b17be9',
    500: '#8740dd',
    950: '#000000',
  },
}
SCSS
$custom: #8740dd;
$custom-light: #b17be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8740dd",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 267.134,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.22459,
    "h": 299.5
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#8740DD
secondary
#C0DD9C
accent
#ED3B9C
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8740DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8740DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva