#8F7ABA#8F7ABA

#8F7ABA is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.4% C 0.097 H 298.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F7ABA
RGBrgb(143, 122, 186)
HSLhsl(260, 32%, 60%)
HSVhsv(260, 34%, 73%)
CMYKcmyk(23.1%, 34.4%, 0%, 27.1%)
CIE-LABlab(55.38, 21.60, -30.72)
CIE-LCHlch(55.38, 37.55, 305.10°)
OKLaboklab(62.39% 0.0465 -0.0851)
OKLCHoklch(62.39% 0.097 298.6)
XYZxyz(27.1482, 23.3037, 49.5127)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7ABA #A5BA7A
analogous
#7A85BA #8F7ABA #AF7ABA
triadic
#8F7ABA #BA8F7A #7ABA8F
tetradic
#8F7ABA #BA7A85 #A5BA7A #7ABAAF
square
#8F7ABA #BA7A85 #A5BA7A #7ABAAF
split-complementary
#8F7ABA #BAAF7A #85BA7A
monochromatic
#533F7A #6E54A2 #8F7ABA #B1A2CF #D3CBE4

Accessibility & contrast

On white

3.71
#8F7ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8F7ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7ABA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7ABA#FFFFFF#000000##000000
##8F7ABA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BD
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#878491
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f7aba;
/* rgb */ color: rgb(143, 122, 186);
/* oklch */ color: oklch(62.4% 0.097 298.6);
Tailwind
colors: {
  custom: {
    50: '#b1a0cf',
    500: '#8f7aba',
    950: '#000000',
  },
}
SCSS
$custom: #8f7aba;
$custom-light: #b1a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7aba",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 259.688,
    "s": 31.683,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62385,
    "c": 0.09699,
    "h": 298.6
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#8F7ABA
secondary
#CCD4BC
accent
#AA3B86
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #8F7ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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