#8D74BB#8D74BB

#8D74BB is a mid, moderate violet. Relative luminance 0.217; OKLCH L 61.1% C 0.108 H 299.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D74BB
RGBrgb(141, 116, 187)
HSLhsl(261, 34%, 59%)
HSVhsv(261, 38%, 73%)
CMYKcmyk(24.6%, 38%, 0%, 26.7%)
CIE-LABlab(53.75, 24.74, -33.85)
CIE-LCHlch(53.75, 41.93, 306.16°)
OKLaboklab(61.11% 0.0531 -0.0941)
OKLCHoklch(61.11% 0.108 299.4)
XYZxyz(26.1975, 21.7412, 49.8204)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74BB #A2BB74
analogous
#747FBB #8D74BB #B174BB
triadic
#8D74BB #BB8D74 #74BB8D
tetradic
#8D74BB #BB747F #A2BB74 #74BBB1
square
#8D74BB #BB747F #A2BB74 #74BBB1
split-complementary
#8D74BB #BBB174 #7FBB74
monochromatic
#513B79 #6D4FA2 #8D74BB #AF9DCF #D0C6E3

Accessibility & contrast

On white

3.93
#8D74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74BB#FFFFFF#000000##000000
##8D74BB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#84808F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d74bb;
/* rgb */ color: rgb(141, 116, 187);
/* oklch */ color: oklch(61.1% 0.108 299.4);
Tailwind
colors: {
  custom: {
    50: '#b09ccf',
    500: '#8d74bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d74bb;
$custom-light: #b09ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74bb",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 261.127,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.10807,
    "h": 299.4
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#8D74BB
secondary
#C9D3B8
accent
#CA5DA4
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8D74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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