#8A79DE#8A79DE

#8A79DE is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.6% C 0.148 H 289.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A79DE
RGBrgb(138, 121, 222)
HSLhsl(250, 60%, 67%)
HSVhsv(250, 45%, 87%)
CMYKcmyk(37.8%, 45.5%, 0%, 12.9%)
CIE-LABlab(56.44, 30.08, -49.50)
CIE-LCHlch(56.44, 57.92, 301.29°)
OKLaboklab(63.65% 0.0487 -0.1397)
OKLCHoklch(63.65% 0.148 289.2)
XYZxyz(30.4998, 24.3511, 72.1863)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79DE #CDDE79
analogous
#799BDE #8A79DE #BD79DE
triadic
#8A79DE #DE8A79 #79DE8A
tetradic
#8A79DE #DE799B #CDDE79 #79DEBD
square
#8A79DE #DE799B #CDDE79 #79DEBD
split-complementary
#8A79DE #DEBD79 #9BDE79
monochromatic
#422CB1 #5F48D2 #8A79DE #B5AAEA #E0DBF6

Accessibility & contrast

On white

3.58
#8A79DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A79DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79DE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79DE#FFFFFF#000000##000000
##8A79DE1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E2
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#748DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a79de;
/* rgb */ color: rgb(138, 121, 222);
/* oklch */ color: oklch(63.6% 0.148 289.2);
Tailwind
colors: {
  custom: {
    50: '#b0a0e9',
    500: '#8a79de',
    950: '#000000',
  },
}
SCSS
$custom: #8a79de;
$custom-light: #b0a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79de",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 250.099,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.14797,
    "h": 289.2
  },
  "luminance": 0.24352
}

Semantic roles & 50–950 ramp

primary
#8A79DE
secondary
#E4E9C9
accent
#C81DAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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