#8F7AF8#8F7AF8

#8F7AF8 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.8% C 0.181 H 288.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8F7AF8
RGBrgb(143, 122, 248)
HSLhsl(250, 90%, 73%)
HSVhsv(250, 51%, 97%)
CMYKcmyk(42.3%, 50.8%, 0%, 2.7%)
CIE-LABlab(58.54, 37.85, -60.60)
CIE-LCHlch(58.54, 71.45, 301.99°)
OKLaboklab(65.8% 0.056 -0.1721)
OKLCHoklch(65.8% 0.181 288)
XYZxyz(35.2257, 26.5347, 92.0544)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AF8 #E3F87A
analogous
#7AA4F8 #8F7AF8 #CE7AF8
triadic
#8F7AF8 #F88F7A #7AF88F
tetradic
#8F7AF8 #F87AA4 #E3F87A #7AF8CE
square
#8F7AF8 #F87AA4 #E3F87A #7AF8CE
split-complementary
#8F7AF8 #F8CE7A #A4F87A
monochromatic
#320CEB #5E40F5 #8F7AF8 #C0B4FB #E7E2FD

Accessibility & contrast

On white

3.33
#8F7AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8F7AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7AF8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7AF8#FFFFFF#000000##000000
##8F7AF81.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FC
Deuteranopia (green-blind)
#428AF5
Tritanopia (blue-blind)
#7094AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f7af8;
/* rgb */ color: rgb(143, 122, 248);
/* oklch */ color: oklch(65.8% 0.181 288.0);
Tailwind
colors: {
  custom: {
    50: '#b5a1fb',
    500: '#8f7af8',
    950: '#000000',
  },
}
SCSS
$custom: #8f7af8;
$custom-light: #b5a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7af8",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 250,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.18099,
    "h": 288
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#8F7AF8
secondary
#F0F6D5
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #8F7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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