#8F7DE3#8F7DE3

#8F7DE3 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.1% C 0.149 H 289.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8F7DE3
RGBrgb(143, 125, 227)
HSLhsl(251, 65%, 69%)
HSVhsv(251, 45%, 89%)
CMYKcmyk(37%, 44.9%, 0%, 11%)
CIE-LABlab(58.09, 30.38, -49.66)
CIE-LCHlch(58.09, 58.21, 301.46°)
OKLaboklab(65.08% 0.0502 -0.14)
OKLCHoklch(65.08% 0.149 289.7)
XYZxyz(32.5227, 26.0520, 75.9732)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DE3 #D1E37D
analogous
#7D9EE3 #8F7DE3 #C27DE3
triadic
#8F7DE3 #E38F7D #7DE38F
tetradic
#8F7DE3 #E37D9E #D1E37D #7DE3C2
square
#8F7DE3 #E37D9E #D1E37D #7DE3C2
split-complementary
#8F7DE3 #E3C27D #9EE37D
monochromatic
#4329BD #644BD8 #8F7DE3 #BAAFEE #E6E2F9

Accessibility & contrast

On white

3.38
#8F7DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8F7DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DE3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DE3#FFFFFF#000000##000000
##8F7DE31.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE7
Deuteranopia (green-blind)
#5A89E1
Tritanopia (blue-blind)
#7991A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f7de3;
/* rgb */ color: rgb(143, 125, 227);
/* oklch */ color: oklch(65.1% 0.149 289.7);
Tailwind
colors: {
  custom: {
    50: '#b3a3ec',
    500: '#8f7de3',
    950: '#000000',
  },
}
SCSS
$custom: #8f7de3;
$custom-light: #b3a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7de3",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 250.588,
    "s": 64.557,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.14877,
    "h": 289.7
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#8F7DE3
secondary
#E8EDCF
accent
#CC19AD
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8F7DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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