#8F7FC7#8F7FC7

#8F7FC7 is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.0% C 0.107 H 293.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F7FC7
RGBrgb(143, 127, 199)
HSLhsl(253, 39%, 64%)
HSVhsv(253, 36%, 78%)
CMYKcmyk(28.1%, 36.2%, 0%, 22%)
CIE-LABlab(57.21, 21.90, -35.27)
CIE-LCHlch(57.21, 41.52, 301.83°)
OKLaboklab(63.97% 0.0424 -0.0982)
OKLCHoklch(63.97% 0.107 293.3)
XYZxyz(29.2233, 25.1415, 57.3349)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7FC7 #B7C77F
analogous
#7F93C7 #8F7FC7 #B37FC7
triadic
#8F7FC7 #C78F7F #7FC78F
tetradic
#8F7FC7 #C77F93 #B7C77F #7FC7B3
square
#8F7FC7 #C77F93 #B7C77F #7FC7B3
split-complementary
#8F7FC7 #C7B37F #93C77F
monochromatic
#503E8E #6A54B4 #8F7FC7 #B4AADA #DAD4EC

Accessibility & contrast

On white

3.48
#8F7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8F7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7FC7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7FC7#FFFFFF#000000##000000
##8F7FC71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACA
Deuteranopia (green-blind)
#6D88C5
Tritanopia (blue-blind)
#838C9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f7fc7;
/* rgb */ color: rgb(143, 127, 199);
/* oklch */ color: oklch(64.0% 0.107 293.3);
Tailwind
colors: {
  custom: {
    50: '#b1a4d8',
    500: '#8f7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f7fc7;
$custom-light: #b1a4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7fc7",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 253.333,
    "s": 39.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.107,
    "h": 293.3
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

primary
#8F7FC7
secondary
#D8DEC4
accent
#B23396
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #8F7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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