#8F7EA2#8F7EA2

#8F7EA2 is a light, muted violet. Relative luminance 0.234; OKLCH L 62.1% C 0.057 H 306.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F7EA2
RGBrgb(143, 126, 162)
HSLhsl(268, 16%, 56%)
HSVhsv(268, 22%, 64%)
CMYKcmyk(11.7%, 22.2%, 0%, 36.5%)
CIE-LABlab(55.45, 13.69, -16.82)
CIE-LCHlch(55.45, 21.69, 309.16°)
OKLaboklab(62.12% 0.0335 -0.0457)
OKLCHoklch(62.12% 0.057 306.2)
XYZxyz(25.3089, 23.3701, 37.3530)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EA2 #91A27E
analogous
#7E7FA2 #8F7EA2 #A17EA2
triadic
#8F7EA2 #A28F7E #7EA28F
tetradic
#8F7EA2 #A27E7F #91A27E #7EA2A1
square
#8F7EA2 #A27E7F #91A27E #7EA2A1
split-complementary
#8F7EA2 #A2A17E #7FA27E
monochromatic
#524560 #705F84 #8F7EA2 #AEA2BC #CDC5D5

Accessibility & contrast

On white

3.70
#8F7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8F7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EA2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EA2#FFFFFF#000000##000000
##8F7EA21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#7B85A1
Tritanopia (blue-blind)
#8C838A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f7ea2;
/* rgb */ color: rgb(143, 126, 162);
/* oklch */ color: oklch(62.1% 0.057 306.2);
Tailwind
colors: {
  custom: {
    50: '#b0a3bd',
    500: '#8f7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ea2;
$custom-light: #b0a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ea2",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 268.333,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.05667,
    "h": 306.2
  },
  "luminance": 0.2337
}

Semantic roles & 50–950 ramp

primary
#8F7EA2
secondary
#BEC5B7
accent
#B96F96
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8F7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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