#8F7BE6#8F7BE6

#8F7BE6 is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.9% C 0.156 H 289.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F7BE6
RGBrgb(143, 123, 230)
HSLhsl(251, 68%, 69%)
HSVhsv(251, 47%, 90%)
CMYKcmyk(37.8%, 46.5%, 0%, 9.8%)
CIE-LABlab(57.77, 32.35, -51.84)
CIE-LCHlch(57.77, 61.10, 301.97°)
OKLaboklab(64.89% 0.0531 -0.1464)
OKLCHoklch(64.89% 0.156 289.9)
XYZxyz(32.6897, 25.7178, 78.0893)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BE6 #D2E67B
analogous
#7B9DE6 #8F7BE6 #C57BE6
triadic
#8F7BE6 #E68F7B #7BE68F
tetradic
#8F7BE6 #E67B9D #D2E67B #7BE6C5
square
#8F7BE6 #E67B9D #D2E67B #7BE6C5
split-complementary
#8F7BE6 #E6C57B #9DE67B
monochromatic
#4225C2 #6348DC #8F7BE6 #BBAEF0 #E6E2F9

Accessibility & contrast

On white

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

On black

6.14
#8F7BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BE6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BE6#FFFFFF#000000##000000
##8F7BE61.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548DEA
Deuteranopia (green-blind)
#5588E3
Tritanopia (blue-blind)
#7890A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f7be6;
/* rgb */ color: rgb(143, 123, 230);
/* oklch */ color: oklch(64.9% 0.156 289.9);
Tailwind
colors: {
  custom: {
    50: '#b3a1ee',
    500: '#8f7be6',
    950: '#000000',
  },
}
SCSS
$custom: #8f7be6;
$custom-light: #b3a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7be6",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 230
  },
  "hsl": {
    "h": 251.215,
    "s": 68.153,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.15576,
    "h": 289.9
  },
  "luminance": 0.25719
}

Semantic roles & 50–950 ramp

primary
#8F7BE6
secondary
#E8EECF
accent
#D015AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8F7BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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