#8A79DF#8A79DF

#8A79DF is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.7% C 0.149 H 289.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A79DF
RGBrgb(138, 121, 223)
HSLhsl(250, 61%, 67%)
HSVhsv(250, 46%, 87%)
CMYKcmyk(38.1%, 45.7%, 0%, 12.5%)
CIE-LABlab(56.49, 30.35, -49.98)
CIE-LCHlch(56.49, 58.47, 301.27°)
OKLaboklab(63.71% 0.0489 -0.1411)
OKLCHoklch(63.71% 0.149 289.1)
XYZxyz(30.6343, 24.4048, 72.8943)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79DF #CEDF79
analogous
#799BDF #8A79DF #BD79DF
triadic
#8A79DF #DF8A79 #79DF8A
tetradic
#8A79DF #DF799B #CEDF79 #79DFBD
square
#8A79DF #DF799B #CEDF79 #79DFBD
split-complementary
#8A79DF #DFBD79 #9BDF79
monochromatic
#412BB3 #5F48D3 #8A79DF #B5AAEB #E0DCF7

Accessibility & contrast

On white

3.57
#8A79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79DF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79DF#FFFFFF#000000##000000
##8A79DF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#5485DD
Tritanopia (blue-blind)
#738DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a79df;
/* rgb */ color: rgb(138, 121, 223);
/* oklch */ color: oklch(63.7% 0.149 289.1);
Tailwind
colors: {
  custom: {
    50: '#b0a0e9',
    500: '#8a79df',
    950: '#000000',
  },
}
SCSS
$custom: #8a79df;
$custom-light: #b0a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79df",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 250,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63705,
    "c": 0.14933,
    "h": 289.1
  },
  "luminance": 0.24406
}

Semantic roles & 50–950 ramp

primary
#8A79DF
secondary
#E5EACA
accent
#C91CAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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