#8F7AEB#8F7AEB

#8F7AEB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.0% C 0.164 H 289.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8F7AEB
RGBrgb(143, 122, 235)
HSLhsl(251, 74%, 70%)
HSVhsv(251, 48%, 92%)
CMYKcmyk(39.1%, 48.1%, 0%, 7.8%)
CIE-LABlab(57.80, 34.28, -54.56)
CIE-LCHlch(57.80, 64.44, 302.14°)
OKLaboklab(65.01% 0.055 -0.1544)
OKLCHoklch(65.01% 0.164 289.6)
XYZxyz(33.2785, 25.7559, 81.7991)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AEB #D6EB7A
analogous
#7A9EEB #8F7AEB #C77AEB
triadic
#8F7AEB #EB8F7A #7AEB8F
tetradic
#8F7AEB #EB7A9E #D6EB7A #7AEBC7
square
#8F7AEB #EB7A9E #D6EB7A #7AEBC7
split-complementary
#8F7AEB #EBC77A #9EEB7A
monochromatic
#3F1FCC #6245E3 #8F7AEB #BCAFF3 #E9E4FB

Accessibility & contrast

On white

3.41
#8F7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7AEB#FFFFFF#000000##000000
##8F7AEB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#7691A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f7aeb;
/* rgb */ color: rgb(143, 122, 235);
/* oklch */ color: oklch(65.0% 0.164 289.6);
Tailwind
colors: {
  custom: {
    50: '#b4a1f2',
    500: '#8f7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8f7aeb;
$custom-light: #b4a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7aeb",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 251.15,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.1639,
    "h": 289.6
  },
  "luminance": 0.25757
}

Semantic roles & 50–950 ramp

primary
#8F7AEB
secondary
#EAF0D1
accent
#D610B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8F7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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