#8F73B2#8F73B2

#8F73B2 is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.7% C 0.098 H 304.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F73B2
RGBrgb(143, 115, 178)
HSLhsl(267, 29%, 57%)
HSVhsv(267, 35%, 70%)
CMYKcmyk(19.7%, 35.4%, 0%, 30.2%)
CIE-LABlab(53.29, 23.77, -29.37)
CIE-LCHlch(53.29, 37.79, 308.98°)
OKLaboklab(60.68% 0.0549 -0.0812)
OKLCHoklch(60.68% 0.098 304)
XYZxyz(25.4927, 21.3155, 44.8822)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F73B2 #96B273
analogous
#7376B2 #8F73B2 #AF73B2
triadic
#8F73B2 #B28F73 #73B28F
tetradic
#8F73B2 #B27376 #96B273 #73B2AF
square
#8F73B2 #B27376 #96B273 #73B2AF
split-complementary
#8F73B2 #B2AF73 #76B273
monochromatic
#533D6E #705296 #8F73B2 #AF9AC8 #CEC2DD

Accessibility & contrast

On white

3.99
#8F73B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8F73B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F73B2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F73B2#FFFFFF#000000##000000
##8F73B21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#897D8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f73b2;
/* rgb */ color: rgb(143, 115, 178);
/* oklch */ color: oklch(60.7% 0.098 304.0);
Tailwind
colors: {
  custom: {
    50: '#b19bc9',
    500: '#8f73b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f73b2;
$custom-light: #b19bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f73b2",
  "rgb": {
    "r": 143,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 266.667,
    "s": 29.032,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.09802,
    "h": 304
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#8F73B2
secondary
#C2CDB4
accent
#C56299
background
#FAF9FC
surface
#F5F2F8
border
#CFCCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #8F73B2

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

Preview Lab → · Contrast checker → · Palette generator →

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