#8F78BF#8F78BF

#8F78BF is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.2% C 0.107 H 298.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8F78BF
RGBrgb(143, 120, 191)
HSLhsl(259, 36%, 61%)
HSVhsv(259, 37%, 75%)
CMYKcmyk(25.1%, 37.2%, 0%, 25.1%)
CIE-LABlab(55.11, 23.99, -34.01)
CIE-LCHlch(55.11, 41.62, 305.19°)
OKLaboklab(62.25% 0.0506 -0.0946)
OKLCHoklch(62.25% 0.107 298.1)
XYZxyz(27.4460, 23.0340, 52.2802)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78BF #A8BF78
analogous
#7884BF #8F78BF #B278BF
triadic
#8F78BF #BF8F78 #78BF8F
tetradic
#8F78BF #BF7884 #A8BF78 #78BFB2
square
#8F78BF #BF7884 #A8BF78 #78BFB2
split-complementary
#8F78BF #BFB278 #84BF78
monochromatic
#523D80 #6D50A9 #8F78BF #B1A2D3 #D4CBE6

Accessibility & contrast

On white

3.75
#8F78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8F78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78BF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78BF#FFFFFF#000000##000000
##8F78BF1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#6A83BD
Tritanopia (blue-blind)
#868492
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f78bf;
/* rgb */ color: rgb(143, 120, 191);
/* oklch */ color: oklch(62.2% 0.107 298.1);
Tailwind
colors: {
  custom: {
    50: '#b19fd2',
    500: '#8f78bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f78bf;
$custom-light: #b19fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78bf",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 259.437,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62247,
    "c": 0.10725,
    "h": 298.1
  },
  "luminance": 0.23034
}

Semantic roles & 50–950 ramp

primary
#8F78BF
secondary
#CED7BC
accent
#AF3788
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8F78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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