#8F79E4#8F79E4

#8F79E4 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.4% C 0.156 H 290.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8F79E4
RGBrgb(143, 121, 228)
HSLhsl(252, 66%, 68%)
HSVhsv(252, 47%, 89%)
CMYKcmyk(37.3%, 46.9%, 0%, 10.6%)
CIE-LABlab(57.19, 32.97, -51.64)
CIE-LCHlch(57.19, 61.27, 302.55°)
OKLaboklab(64.42% 0.0554 -0.1459)
OKLCHoklch(64.42% 0.156 290.8)
XYZxyz(32.1649, 25.1150, 76.5367)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F79E4 #CEE479
analogous
#7998E4 #8F79E4 #C479E4
triadic
#8F79E4 #E48F79 #79E48F
tetradic
#8F79E4 #E47998 #CEE479 #79E4C4
square
#8F79E4 #E47998 #CEE479 #79E4C4
split-complementary
#8F79E4 #E4C479 #98E479
monochromatic
#4526BD #6446DA #8F79E4 #BAACEE #E4DFF9

Accessibility & contrast

On white

3.49
#8F79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8F79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F79E4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F79E4#FFFFFF#000000##000000
##8F79E41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#798EA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f79e4;
/* rgb */ color: rgb(143, 121, 228);
/* oklch */ color: oklch(64.4% 0.156 290.8);
Tailwind
colors: {
  custom: {
    50: '#b3a0ed',
    500: '#8f79e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f79e4;
$custom-light: #b3a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f79e4",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 252.336,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6442,
    "c": 0.15604,
    "h": 290.8
  },
  "luminance": 0.25116
}

Semantic roles & 50–950 ramp

primary
#8F79E4
secondary
#E6ECCC
accent
#CE17A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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