#8F7FBC#8F7FBC

#8F7FBC is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.4% C 0.091 H 295.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8F7FBC
RGBrgb(143, 127, 188)
HSLhsl(256, 31%, 62%)
HSVhsv(256, 32%, 74%)
CMYKcmyk(23.9%, 32.4%, 0%, 26.3%)
CIE-LABlab(56.73, 19.16, -29.77)
CIE-LCHlch(56.73, 35.40, 302.77°)
OKLaboklab(63.44% 0.0397 -0.0824)
OKLCHoklch(63.44% 0.091 295.7)
XYZxyz(27.9921, 24.6490, 50.8502)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7FBC #ACBC7F
analogous
#7F8EBC #8F7FBC #AE7FBC
triadic
#8F7FBC #BC8F7F #7FBC8F
tetradic
#8F7FBC #BC7F8E #ACBC7F #7FBCAE
square
#8F7FBC #BC7F8E #ACBC7F #7FBCAE
split-complementary
#8F7FBC #BCAE7F #8EBC7F
monochromatic
#52427E #6C57A7 #8F7FBC #B2A7D1 #D5CFE6

Accessibility & contrast

On white

3.54
#8F7FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8F7FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7FBC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7FBC#FFFFFF#000000##000000
##8F7FBC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BE
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#868995
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f7fbc;
/* rgb */ color: rgb(143, 127, 188);
/* oklch */ color: oklch(63.4% 0.091 295.7);
Tailwind
colors: {
  custom: {
    50: '#b1a4d0',
    500: '#8f7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8f7fbc;
$custom-light: #b1a4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7fbc",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 255.738,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63445,
    "c": 0.09148,
    "h": 295.7
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#8F7FBC
secondary
#D1D7C0
accent
#AA3B8D
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #8F7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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