#8D74BE#8D74BE

#8D74BE is a mid, moderate violet. Relative luminance 0.219; OKLCH L 61.3% C 0.112 H 298.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D74BE
RGBrgb(141, 116, 190)
HSLhsl(260, 36%, 60%)
HSVhsv(260, 39%, 75%)
CMYKcmyk(25.8%, 38.9%, 0%, 25.5%)
CIE-LABlab(53.89, 25.48, -35.36)
CIE-LCHlch(53.89, 43.58, 305.78°)
OKLaboklab(61.26% 0.0537 -0.0985)
OKLCHoklch(61.26% 0.112 298.6)
XYZxyz(26.5220, 21.8710, 51.5295)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74BE #A5BE74
analogous
#7480BE #8D74BE #B274BE
triadic
#8D74BE #BE8D74 #74BE8D
tetradic
#8D74BE #BE7480 #A5BE74 #74BEB2
square
#8D74BE #BE7480 #A5BE74 #74BEB2
split-complementary
#8D74BE #BEB274 #80BE74
monochromatic
#513A7D #6C4EA7 #8D74BE #AF9ED2 #D1C7E5

Accessibility & contrast

On white

3.91
#8D74BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8D74BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74BE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74BE#FFFFFF#000000##000000
##8D74BE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C1
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#848090
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d74be;
/* rgb */ color: rgb(141, 116, 190);
/* oklch */ color: oklch(61.3% 0.112 298.6);
Tailwind
colors: {
  custom: {
    50: '#b09cd2',
    500: '#8d74be',
    950: '#000000',
  },
}
SCSS
$custom: #8d74be;
$custom-light: #b09cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74be",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 260.27,
    "s": 36.275,
    "l": 60
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.11219,
    "h": 298.6
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#8D74BE
secondary
#CCD5B9
accent
#CC5CA6
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D74BE

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

Preview Lab → · Contrast checker → · Palette generator →

#8D74BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva