#8F7FB2#8F7FB2

#8F7FB2 is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.0% C 0.077 H 298.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F7FB2
RGBrgb(143, 127, 178)
HSLhsl(259, 25%, 60%)
HSVhsv(259, 29%, 70%)
CMYKcmyk(19.7%, 28.7%, 0%, 30.2%)
CIE-LABlab(56.32, 16.76, -24.69)
CIE-LCHlch(56.32, 29.84, 304.17°)
OKLaboklab(62.99% 0.037 -0.0679)
OKLCHoklch(62.99% 0.077 298.6)
XYZxyz(26.9512, 24.2326, 45.3683)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7FB2 #A2B27F
analogous
#7F88B2 #8F7FB2 #A97FB2
triadic
#8F7FB2 #B28F7F #7FB28F
tetradic
#8F7FB2 #B27F88 #A2B27F #7FB2A9
square
#8F7FB2 #B27F88 #A2B27F #7FB2A9
split-complementary
#8F7FB2 #B2A97F #88B27F
monochromatic
#534572 #6F5C98 #8F7FB2 #B0A5C9 #D2CBE0

Accessibility & contrast

On white

3.59
#8F7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8F7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7FB2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7FB2#FFFFFF#000000##000000
##8F7FB21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#7687B1
Tritanopia (blue-blind)
#898791
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f7fb2;
/* rgb */ color: rgb(143, 127, 178);
/* oklch */ color: oklch(63.0% 0.077 298.6);
Tailwind
colors: {
  custom: {
    50: '#b0a4c9',
    500: '#8f7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f7fb2;
$custom-light: #b0a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7fb2",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 258.824,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62993,
    "c": 0.07733,
    "h": 298.6
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#8F7FB2
secondary
#CAD0BD
accent
#C167A5
background
#FAFAFC
surface
#F5F4F8
border
#CFCED1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8F7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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