#8F7DE8#8F7DE8

#8F7DE8 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.4% C 0.156 H 289.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8F7DE8
RGBrgb(143, 125, 232)
HSLhsl(250, 70%, 70%)
HSVhsv(250, 46%, 91%)
CMYKcmyk(38.4%, 46.1%, 0%, 9%)
CIE-LABlab(58.35, 31.73, -52.02)
CIE-LCHlch(58.35, 60.94, 301.38°)
OKLaboklab(65.37% 0.0509 -0.147)
OKLCHoklch(65.37% 0.156 289.1)
XYZxyz(33.2228, 26.3321, 79.6604)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DE8 #D6E87D
analogous
#7DA1E8 #8F7DE8 #C47DE8
triadic
#8F7DE8 #E88F7D #7DE88F
tetradic
#8F7DE8 #E87DA1 #D6E87D #7DE8C4
square
#8F7DE8 #E87DA1 #D6E87D #7DE8C4
split-complementary
#8F7DE8 #E8C47D #A1E87D
monochromatic
#3F23C7 #6249DF #8F7DE8 #BCB1F1 #E9E5FA

Accessibility & contrast

On white

3.35
#8F7DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8F7DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DE8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DE8#FFFFFF#000000##000000
##8F7DE81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FEC
Deuteranopia (green-blind)
#568AE5
Tritanopia (blue-blind)
#7792A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f7de8;
/* rgb */ color: rgb(143, 125, 232);
/* oklch */ color: oklch(65.4% 0.156 289.1);
Tailwind
colors: {
  custom: {
    50: '#b4a3f0',
    500: '#8f7de8',
    950: '#000000',
  },
}
SCSS
$custom: #8f7de8;
$custom-light: #b4a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7de8",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 250.093,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.65366,
    "c": 0.15551,
    "h": 289.1
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#8F7DE8
secondary
#EAEFD1
accent
#D214B2
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8F7DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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