#8741CB#8741CB

#8741CB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.204 H 303.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8741CB
RGBrgb(135, 65, 203)
HSLhsl(270, 57%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(33.5%, 68%, 0%, 20.4%)
CIE-LABlab(43.13, 55.17, -60.04)
CIE-LCHlch(43.13, 81.54, 312.58°)
OKLaboklab(53.4% 0.1123 -0.1707)
OKLCHoklch(53.4% 0.204 303.3)
XYZxyz(22.6590, 13.2433, 57.8508)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741CB #85CB41
analogous
#4241CB #8741CB #CB41CA
triadic
#8741CB #CB8741 #41CB87
tetradic
#8741CB #CB4241 #85CB41 #41CACB
square
#8741CB #CB4241 #85CB41 #41CACB
split-complementary
#8741CB #CACB41 #41CB42
monochromatic
#491F72 #682CA2 #8741CB #A571D8 #C4A1E5

Accessibility & contrast

On white

5.76
#8741CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8741CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741CB#FFFFFF#000000##FFFFFF
##8741CB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#7A6181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8741cb;
/* rgb */ color: rgb(135, 65, 203);
/* oklch */ color: oklch(53.4% 0.204 303.3);
Tailwind
colors: {
  custom: {
    50: '#af7bdc',
    500: '#8741cb',
    950: '#000000',
  },
}
SCSS
$custom: #8741cb;
$custom-light: #af7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8741cb",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 270.435,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53401,
    "c": 0.20434,
    "h": 303.3
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#8741CB
secondary
#B3D296
accent
#E04893
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741CB

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

Preview Lab → · Contrast checker → · Palette generator →

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