#8F7DC8#8F7DC8

#8F7DC8 is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.6% C 0.112 H 294.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8F7DC8
RGBrgb(143, 125, 200)
HSLhsl(254, 41%, 64%)
HSVhsv(254, 38%, 78%)
CMYKcmyk(28.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(56.76, 23.32, -36.55)
CIE-LCHlch(56.76, 43.36, 302.53°)
OKLaboklab(63.64% 0.0454 -0.1019)
OKLCHoklch(63.64% 0.112 294)
XYZxyz(29.0841, 24.6766, 57.8631)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DC8 #B6C87D
analogous
#7D90C8 #8F7DC8 #B47DC8
triadic
#8F7DC8 #C88F7D #7DC88F
tetradic
#8F7DC8 #C87D90 #B6C87D #7DC8B4
square
#8F7DC8 #C87D90 #B6C87D #7DC8B4
split-complementary
#8F7DC8 #C8B47D #90C87D
monochromatic
#503C8E #6A52B6 #8F7DC8 #B4A8DA #D9D3EC

Accessibility & contrast

On white

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

On black

5.94
#8F7DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DC8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DC8#FFFFFF#000000##000000
##8F7DC81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CB
Deuteranopia (green-blind)
#6B87C6
Tritanopia (blue-blind)
#838A99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f7dc8;
/* rgb */ color: rgb(143, 125, 200);
/* oklch */ color: oklch(63.6% 0.112 294.0);
Tailwind
colors: {
  custom: {
    50: '#b1a2d9',
    500: '#8f7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f7dc8;
$custom-light: #b1a2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7dc8",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 254.4,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6364,
    "c": 0.1116,
    "h": 294
  },
  "luminance": 0.24677
}

Semantic roles & 50–950 ramp

primary
#8F7DC8
secondary
#D7DEC3
accent
#B43294
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #8F7DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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