#8F7EA4#8F7EA4

#8F7EA4 is a light, muted violet. Relative luminance 0.234; OKLCH L 62.2% C 0.059 H 305.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8F7EA4
RGBrgb(143, 126, 164)
HSLhsl(267, 17%, 57%)
HSVhsv(267, 23%, 64%)
CMYKcmyk(12.8%, 23.2%, 0%, 35.7%)
CIE-LABlab(55.52, 14.14, -17.86)
CIE-LCHlch(55.52, 22.78, 308.36°)
OKLaboklab(62.2% 0.0342 -0.0486)
OKLCHoklch(62.2% 0.059 305.1)
XYZxyz(25.4881, 23.4418, 38.2967)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EA4 #93A47E
analogous
#7E80A4 #8F7EA4 #A27EA4
triadic
#8F7EA4 #A48F7E #7EA48F
tetradic
#8F7EA4 #A47E80 #93A47E #7EA4A2
square
#8F7EA4 #A47E80 #93A47E #7EA4A2
split-complementary
#8F7EA4 #A4A27E #80A47E
monochromatic
#524562 #705F86 #8F7EA4 #AEA2BD #CDC6D7

Accessibility & contrast

On white

3.69
#8F7EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8F7EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EA4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EA4#FFFFFF#000000##000000
##8F7EA41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A6
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#8C838B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f7ea4;
/* rgb */ color: rgb(143, 126, 164);
/* oklch */ color: oklch(62.2% 0.059 305.1);
Tailwind
colors: {
  custom: {
    50: '#b0a3bf',
    500: '#8f7ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ea4;
$custom-light: #b0a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ea4",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 266.842,
    "s": 17.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.05943,
    "h": 305.1
  },
  "luminance": 0.23442
}

Semantic roles & 50–950 ramp

primary
#8F7EA4
secondary
#C0C7B7
accent
#BA6E98
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8F7EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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