#8F7AAA#8F7AAA

#8F7AAA is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.075 H 304.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F7AAA
RGBrgb(143, 122, 170)
HSLhsl(266, 22%, 57%)
HSVhsv(266, 28%, 67%)
CMYKcmyk(15.9%, 28.2%, 0%, 33.3%)
CIE-LABlab(54.72, 17.82, -22.55)
CIE-LCHlch(54.72, 28.74, 308.32°)
OKLaboklab(61.66% 0.0422 -0.0618)
OKLCHoklch(61.66% 0.075 304.3)
XYZxyz(25.5415, 22.6611, 41.0509)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AAA #95AA7A
analogous
#7A7DAA #8F7AAA #A77AAA
triadic
#8F7AAA #AA8F7A #7AAA8F
tetradic
#8F7AAA #AA7A7D #95AA7A #7AAAA7
square
#8F7AAA #AA7A7D #95AA7A #7AAAA7
split-complementary
#8F7AAA #AAA77A #7DAA7A
monochromatic
#524267 #705A8D #8F7AAA #AE9FC2 #CEC5DA

Accessibility & contrast

On white

3.80
#8F7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8F7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7AAA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7AAA#FFFFFF#000000##000000
##8F7AAA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7182AC
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#8B818B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f7aaa;
/* rgb */ color: rgb(143, 122, 170);
/* oklch */ color: oklch(61.7% 0.075 304.3);
Tailwind
colors: {
  custom: {
    50: '#b0a0c3',
    500: '#8f7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8f7aaa;
$custom-light: #b0a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7aaa",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 266.25,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.07482,
    "h": 304.3
  },
  "luminance": 0.22661
}

Semantic roles & 50–950 ramp

primary
#8F7AAA
secondary
#C1CAB6
accent
#BF6999
background
#FAF9FC
surface
#F5F2F8
border
#CFCCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8F7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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