#8F7DE2#8F7DE2

#8F7DE2 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.0% C 0.147 H 289.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8F7DE2
RGBrgb(143, 125, 226)
HSLhsl(251, 64%, 69%)
HSVhsv(251, 45%, 89%)
CMYKcmyk(36.7%, 44.7%, 0%, 11.4%)
CIE-LABlab(58.03, 30.11, -49.18)
CIE-LCHlch(58.03, 57.67, 301.48°)
OKLaboklab(65.02% 0.0501 -0.1386)
OKLCHoklch(65.02% 0.147 289.9)
XYZxyz(32.3851, 25.9970, 75.2484)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DE2 #D0E27D
analogous
#7D9EE2 #8F7DE2 #C27DE2
triadic
#8F7DE2 #E28F7D #7DE28F
tetradic
#8F7DE2 #E27D9E #D0E27D #7DE2C2
square
#8F7DE2 #E27D9E #D0E27D #7DE2C2
split-complementary
#8F7DE2 #E2C27D #9EE27D
monochromatic
#442ABB #644BD7 #8F7DE2 #BAAFED #E5E1F8

Accessibility & contrast

On white

3.39
#8F7DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8F7DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DE2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DE2#FFFFFF#000000##000000
##8F7DE21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8DE6
Deuteranopia (green-blind)
#5B89E0
Tritanopia (blue-blind)
#7A91A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f7de2;
/* rgb */ color: rgb(143, 125, 226);
/* oklch */ color: oklch(65.0% 0.147 289.9);
Tailwind
colors: {
  custom: {
    50: '#b3a3eb',
    500: '#8f7de2',
    950: '#000000',
  },
}
SCSS
$custom: #8f7de2;
$custom-light: #b3a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7de2",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 250.693,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65024,
    "c": 0.1474,
    "h": 289.9
  },
  "luminance": 0.25998
}

Semantic roles & 50–950 ramp

primary
#8F7DE2
secondary
#E7ECCE
accent
#CB1AAC
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8F7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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