#8741B2#8741B2

#8741B2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.178 H 310.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8741B2
RGBrgb(135, 65, 178)
HSLhsl(277, 47%, 48%)
HSVhsv(277, 63%, 70%)
CMYKcmyk(24.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(41.45, 49.36, -48.15)
CIE-LCHlch(41.45, 68.95, 315.71°)
OKLaboklab(51.66% 0.1145 -0.1358)
OKLCHoklch(51.66% 0.178 310.1)
XYZxyz(19.9163, 12.1462, 43.4061)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B2 #6CB241
analogous
#4E41B2 #8741B2 #B241A5
triadic
#8741B2 #B28741 #41B287
tetradic
#8741B2 #B24E41 #6CB241 #41A5B2
square
#8741B2 #B24E41 #6CB241 #41A5B2
split-complementary
#8741B2 #A5B241 #41B24E
monochromatic
#432058 #653185 #8741B2 #A468C8 #BF95D8

Accessibility & contrast

On white

6.12
#8741B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8741B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B2#FFFFFF#000000##FFFFFF
##8741B21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB5
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#815773
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8741b2;
/* rgb */ color: rgb(135, 65, 178);
/* oklch */ color: oklch(51.7% 0.178 310.1);
Tailwind
colors: {
  custom: {
    50: '#ad7aca',
    500: '#8741b2',
    950: '#000000',
  },
}
SCSS
$custom: #8741b2;
$custom-light: #ad7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b2",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 277.168,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51658,
    "c": 0.17759,
    "h": 310.1
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#8741B2
secondary
#A1C48B
accent
#D65284
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B2

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

Preview Lab → · Contrast checker → · Palette generator →

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