#8741CD#8741CD

#8741CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.206 H 302.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8741CD
RGBrgb(135, 65, 205)
HSLhsl(270, 58%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(34.1%, 68.3%, 0%, 19.6%)
CIE-LABlab(43.27, 55.65, -60.97)
CIE-LCHlch(43.27, 82.54, 312.39°)
OKLaboklab(53.55% 0.1121 -0.1734)
OKLCHoklch(53.55% 0.206 302.9)
XYZxyz(22.8988, 13.3393, 59.1141)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741CD #87CD41
analogous
#4141CD #8741CD #CD41CD
triadic
#8741CD #CD8741 #41CD87
tetradic
#8741CD #CD4141 #87CD41 #41CDCD
square
#8741CD #CD4141 #87CD41 #41CDCD
split-complementary
#8741CD #CDCD41 #41CD41
monochromatic
#4A1F75 #682CA5 #8741CD #A671DA #C4A2E6

Accessibility & contrast

On white

5.73
#8741CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8741CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741CD#FFFFFF#000000##FFFFFF
##8741CD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#796182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8741cd;
/* rgb */ color: rgb(135, 65, 205);
/* oklch */ color: oklch(53.5% 0.206 302.9);
Tailwind
colors: {
  custom: {
    50: '#af7bdd',
    500: '#8741cd',
    950: '#000000',
  },
}
SCSS
$custom: #8741cd;
$custom-light: #af7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8741cd",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.20648,
    "h": 302.9
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#8741CD
secondary
#B5D397
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8741CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva