#8F7DBE#8F7DBE

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

Color values

HEX#8F7DBE
RGBrgb(143, 125, 190)
HSLhsl(257, 33%, 62%)
HSVhsv(257, 34%, 75%)
CMYKcmyk(24.7%, 34.2%, 0%, 25.5%)
CIE-LABlab(56.31, 20.82, -31.56)
CIE-LCHlch(56.31, 37.81, 303.41°)
OKLaboklab(63.15% 0.0431 -0.0875)
OKLCHoklch(63.15% 0.098 296.2)
XYZxyz(27.9534, 24.2243, 51.9083)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DBE #ACBE7D
analogous
#7D8CBE #8F7DBE #B07DBE
triadic
#8F7DBE #BE8F7D #7DBE8F
tetradic
#8F7DBE #BE7D8C #ACBE7D #7DBEB0
square
#8F7DBE #BE7D8C #ACBE7D #7DBEB0
split-complementary
#8F7DBE #BEB07D #8CBE7D
monochromatic
#524080 #6C55A9 #8F7DBE #B2A6D2 #D5CFE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7DBE#FFFFFF#000000##000000
##8F7DBE1.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)
#6D87C1
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#868895
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f7dbe;
/* rgb */ color: rgb(143, 125, 190);
/* oklch */ color: oklch(63.2% 0.098 296.2);
Tailwind
colors: {
  custom: {
    50: '#b1a2d2',
    500: '#8f7dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f7dbe;
$custom-light: #b1a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7dbe",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 256.615,
    "s": 33.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63152,
    "c": 0.09759,
    "h": 296.2
  },
  "luminance": 0.24225
}

Semantic roles & 50–950 ramp

primary
#8F7DBE
secondary
#D1D7BF
accent
#AC398C
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82

Preview Lab

Preview with #8F7DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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