#8741BF#8741BF

#8741BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.192 H 306.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8741BF
RGBrgb(135, 65, 191)
HSLhsl(273, 50%, 50%)
HSVhsv(273, 66%, 75%)
CMYKcmyk(29.3%, 66%, 0%, 25.1%)
CIE-LABlab(42.30, 52.35, -54.41)
CIE-LCHlch(42.30, 75.50, 313.89°)
OKLaboklab(52.54% 0.1137 -0.1541)
OKLCHoklch(52.54% 0.192 306.4)
XYZxyz(21.2839, 12.6933, 50.6089)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741BF #79BF41
analogous
#4841BF #8741BF #BF41B8
triadic
#8741BF #BF8741 #41BF87
tetradic
#8741BF #BF4841 #79BF41 #41B8BF
square
#8741BF #BF4841 #79BF41 #41B8BF
split-complementary
#8741BF #B8BF41 #41BF48
monochromatic
#462264 #673192 #8741BF #A46FCE #C19DDE

Accessibility & contrast

On white

5.93
#8741BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8741BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741BF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741BF#FFFFFF#000000##FFFFFF
##8741BF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#7E5C7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8741bf;
/* rgb */ color: rgb(135, 65, 191);
/* oklch */ color: oklch(52.5% 0.192 306.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ad3',
    500: '#8741bf',
    950: '#000000',
  },
}
SCSS
$custom: #8741bf;
$custom-light: #ae7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8741bf",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 273.333,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.19152,
    "h": 306.4
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#8741BF
secondary
#ABCA92
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8741BF

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

Preview Lab → · Contrast checker → · Palette generator →

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