#8F7CE9#8F7CE9

#8F7CE9 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.2% C 0.158 H 289.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8F7CE9
RGBrgb(143, 124, 233)
HSLhsl(250, 71%, 70%)
HSVhsv(250, 47%, 91%)
CMYKcmyk(38.6%, 46.8%, 0%, 8.6%)
CIE-LABlab(58.17, 32.58, -52.87)
CIE-LCHlch(58.17, 62.11, 301.64°)
OKLaboklab(65.25% 0.0522 -0.1494)
OKLCHoklch(65.25% 0.158 289.3)
XYZxyz(33.2393, 26.1371, 80.3687)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7CE9 #D6E97C
analogous
#7C9FE9 #8F7CE9 #C67CE9
triadic
#8F7CE9 #E98F7C #7CE98F
tetradic
#8F7CE9 #E97C9F #D6E97C #7CE9C6
square
#8F7CE9 #E97C9F #D6E97C #7CE9C6
split-complementary
#8F7CE9 #E9C67C #9FE97C
monochromatic
#3F22C9 #6248E0 #8F7CE9 #BCB0F2 #E9E5FB

Accessibility & contrast

On white

3.37
#8F7CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8F7CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7CE9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7CE9#FFFFFF#000000##000000
##8F7CE91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#7792A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f7ce9;
/* rgb */ color: rgb(143, 124, 233);
/* oklch */ color: oklch(65.2% 0.158 289.3);
Tailwind
colors: {
  custom: {
    50: '#b4a2f0',
    500: '#8f7ce9',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ce9;
$custom-light: #b4a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ce9",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 233
  },
  "hsl": {
    "h": 250.459,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.65245,
    "c": 0.15832,
    "h": 289.3
  },
  "luminance": 0.26138
}

Semantic roles & 50–950 ramp

primary
#8F7CE9
secondary
#EAF0D1
accent
#D312B2
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8F7CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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