#8741CA#8741CA

#8741CA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.203 H 303.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8741CA
RGBrgb(135, 65, 202)
HSLhsl(271, 56%, 52%)
HSVhsv(271, 68%, 79%)
CMYKcmyk(33.2%, 67.8%, 0%, 20.8%)
CIE-LABlab(43.06, 54.93, -59.58)
CIE-LCHlch(43.06, 81.04, 312.68°)
OKLaboklab(53.33% 0.1125 -0.1693)
OKLCHoklch(53.33% 0.203 303.6)
XYZxyz(22.5402, 13.1958, 57.2252)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741CA #84CA41
analogous
#4241CA #8741CA #CA41C9
triadic
#8741CA #CA8741 #41CA87
tetradic
#8741CA #CA4241 #84CA41 #41C9CA
square
#8741CA #CA4241 #84CA41 #41C9CA
split-complementary
#8741CA #C9CA41 #41CA42
monochromatic
#492071 #682DA1 #8741CA #A571D7 #C3A1E5

Accessibility & contrast

On white

5.77
#8741CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8741CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741CA#FFFFFF#000000##FFFFFF
##8741CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#7A6080
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8741ca;
/* rgb */ color: rgb(135, 65, 202);
/* oklch */ color: oklch(53.3% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#af7bdb',
    500: '#8741ca',
    950: '#000000',
  },
}
SCSS
$custom: #8741ca;
$custom-light: #af7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8741ca",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 270.657,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.20327,
    "h": 303.6
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#8741CA
secondary
#B3D196
accent
#E04892
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741CA

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

Preview Lab → · Contrast checker → · Palette generator →

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