#8F7FC6#8F7FC6

#8F7FC6 is a light, moderate violet. Relative luminance 0.251; OKLCH L 63.9% C 0.106 H 293.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8F7FC6
RGBrgb(143, 127, 198)
HSLhsl(254, 38%, 64%)
HSVhsv(254, 36%, 78%)
CMYKcmyk(27.8%, 35.9%, 0%, 22.4%)
CIE-LABlab(57.17, 21.64, -34.78)
CIE-LCHlch(57.17, 40.96, 301.90°)
OKLaboklab(63.92% 0.0422 -0.0968)
OKLCHoklch(63.92% 0.106 293.5)
XYZxyz(29.1076, 25.0952, 56.7254)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7FC6 #B6C67F
analogous
#7F92C6 #8F7FC6 #B27FC6
triadic
#8F7FC6 #C68F7F #7FC68F
tetradic
#8F7FC6 #C67F92 #B6C67F #7FC6B2
square
#8F7FC6 #C67F92 #B6C67F #7FC6B2
split-complementary
#8F7FC6 #C6B27F #92C67F
monochromatic
#503E8C #6A55B3 #8F7FC6 #B4A9D9 #D9D4EC

Accessibility & contrast

On white

3.49
#8F7FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8F7FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7FC6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7FC6#FFFFFF#000000##000000
##8F7FC61.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8AC9
Deuteranopia (green-blind)
#6E88C4
Tritanopia (blue-blind)
#838B99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f7fc6;
/* rgb */ color: rgb(143, 127, 198);
/* oklch */ color: oklch(63.9% 0.106 293.5);
Tailwind
colors: {
  custom: {
    50: '#b1a4d7',
    500: '#8f7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #8f7fc6;
$custom-light: #b1a4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7fc6",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 253.521,
    "s": 38.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.1056,
    "h": 293.5
  },
  "luminance": 0.25096
}

Semantic roles & 50–950 ramp

primary
#8F7FC6
secondary
#D7DDC4
accent
#B13495
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #8F7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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