#8F7CE2#8F7CE2

#8F7CE2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.8% C 0.149 H 290.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8F7CE2
RGBrgb(143, 124, 226)
HSLhsl(251, 64%, 69%)
HSVhsv(251, 45%, 89%)
CMYKcmyk(36.7%, 45.1%, 0%, 11.4%)
CIE-LABlab(57.79, 30.69, -49.56)
CIE-LCHlch(57.79, 58.29, 301.77°)
OKLaboklab(64.84% 0.0514 -0.1398)
OKLCHoklch(64.84% 0.149 290.2)
XYZxyz(32.2591, 25.7451, 75.2064)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7CE2 #CFE27C
analogous
#7C9CE2 #8F7CE2 #C27CE2
triadic
#8F7CE2 #E28F7C #7CE28F
tetradic
#8F7CE2 #E27C9C #CFE27C #7CE2C2
square
#8F7CE2 #E27C9C #CFE27C #7CE2C2
split-complementary
#8F7CE2 #E2C27C #9CE27C
monochromatic
#4429BA #644AD7 #8F7CE2 #BAAEED #E5E0F8

Accessibility & contrast

On white

3.42
#8F7CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8F7CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7CE2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7CE2#FFFFFF#000000##000000
##8F7CE21.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#7A90A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f7ce2;
/* rgb */ color: rgb(143, 124, 226);
/* oklch */ color: oklch(64.8% 0.149 290.2);
Tailwind
colors: {
  custom: {
    50: '#b3a2eb',
    500: '#8f7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ce2;
$custom-light: #b3a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ce2",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 251.176,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.14889,
    "h": 290.2
  },
  "luminance": 0.25746
}

Semantic roles & 50–950 ramp

primary
#8F7CE2
secondary
#E6ECCE
accent
#CC1AAA
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8F7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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