#8F74BB#8F74BB

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

Color values

HEX#8F74BB
RGBrgb(143, 116, 187)
HSLhsl(263, 34%, 59%)
HSVhsv(263, 38%, 73%)
CMYKcmyk(23.5%, 38%, 0%, 26.7%)
CIE-LABlab(53.94, 25.34, -33.55)
CIE-LCHlch(53.94, 42.04, 307.07°)
OKLaboklab(61.3% 0.0555 -0.0932)
OKLCHoklch(61.3% 0.108 300.8)
XYZxyz(26.5408, 21.9182, 49.8365)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74BB #A0BB74
analogous
#747DBB #8F74BB #B374BB
triadic
#8F74BB #BB8F74 #74BB8F
tetradic
#8F74BB #BB747D #A0BB74 #74BBB3
square
#8F74BB #BB747D #A0BB74 #74BBB3
split-complementary
#8F74BB #BBB374 #7DBB74
monochromatic
#533B79 #6F4FA2 #8F74BB #B09DCF #D1C6E3

Accessibility & contrast

On white

3.90
#8F74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8F74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74BB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74BB#FFFFFF#000000##000000
##8F74BB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#87808F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f74bb;
/* rgb */ color: rgb(143, 116, 187);
/* oklch */ color: oklch(61.3% 0.108 300.8);
Tailwind
colors: {
  custom: {
    50: '#b19ccf',
    500: '#8f74bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f74bb;
$custom-light: #b19ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74bb",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 262.817,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.613,
    "c": 0.10848,
    "h": 300.8
  },
  "luminance": 0.21918
}

Semantic roles & 50–950 ramp

primary
#8F74BB
secondary
#C9D3B8
accent
#CA5DA1
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8F74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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