#8A79DB#8A79DB

#8A79DB is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.5% C 0.144 H 289.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A79DB
RGBrgb(138, 121, 219)
HSLhsl(250, 58%, 67%)
HSVhsv(250, 45%, 86%)
CMYKcmyk(37%, 44.7%, 0%, 14.1%)
CIE-LABlab(56.28, 29.27, -48.07)
CIE-LCHlch(56.28, 56.28, 301.34°)
OKLaboklab(63.48% 0.0483 -0.1355)
OKLCHoklch(63.48% 0.144 289.6)
XYZxyz(30.1013, 24.1917, 70.0876)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79DB #CADB79
analogous
#7999DB #8A79DB #BB79DB
triadic
#8A79DB #DB8A79 #79DB8A
tetradic
#8A79DB #DB7999 #CADB79 #79DBBB
square
#8A79DB #DB7999 #CADB79 #79DBBB
split-complementary
#8A79DB #DBBB79 #99DB79
monochromatic
#442EAC #6049CE #8A79DB #B4A9E8 #DED9F5

Accessibility & contrast

On white

3.60
#8A79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79DB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79DB#FFFFFF#000000##000000
##8A79DB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#758C9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a79db;
/* rgb */ color: rgb(138, 121, 219);
/* oklch */ color: oklch(63.5% 0.144 289.6);
Tailwind
colors: {
  custom: {
    50: '#afa0e6',
    500: '#8a79db',
    950: '#000000',
  },
}
SCSS
$custom: #8a79db;
$custom-light: #afa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79db",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 250.408,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.14388,
    "h": 289.6
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#8A79DB
secondary
#E2E8C8
accent
#C520A9
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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