#8F7AB2#8F7AB2

#8F7AB2 is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.0% C 0.086 H 301.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F7AB2
RGBrgb(143, 122, 178)
HSLhsl(263, 27%, 59%)
HSVhsv(263, 31%, 70%)
CMYKcmyk(19.7%, 31.5%, 0%, 30.2%)
CIE-LABlab(55.04, 19.68, -26.66)
CIE-LCHlch(55.04, 33.14, 306.44°)
OKLaboklab(62.01% 0.0444 -0.0735)
OKLCHoklch(62.01% 0.086 301.2)
XYZxyz(26.3214, 22.9730, 45.1584)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AB2 #9DB27A
analogous
#7A81B2 #8F7AB2 #AB7AB2
triadic
#8F7AB2 #B28F7A #7AB28F
tetradic
#8F7AB2 #B27A81 #9DB27A #7AB2AB
square
#8F7AB2 #B27A81 #9DB27A #7AB2AB
split-complementary
#8F7AB2 #B2AB7A #81B27A
monochromatic
#534170 #6F5897 #8F7AB2 #B0A1C8 #D0C8DF

Accessibility & contrast

On white

3.75
#8F7AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8F7AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7AB2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7AB2#FFFFFF#000000##000000
##8F7AB21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E83B4
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#89838E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f7ab2;
/* rgb */ color: rgb(143, 122, 178);
/* oklch */ color: oklch(62.0% 0.086 301.2);
Tailwind
colors: {
  custom: {
    50: '#b0a0c9',
    500: '#8f7ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ab2;
$custom-light: #b0a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ab2",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 262.5,
    "s": 26.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.08587,
    "h": 301.2
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#8F7AB2
secondary
#C7CFB9
accent
#C365A0
background
#FAF9FC
surface
#F5F2F8
border
#CFCCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8F7AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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