#8A79CB#8A79CB

#8A79CB is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.6% C 0.122 H 292.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A79CB
RGBrgb(138, 121, 203)
HSLhsl(252, 44%, 64%)
HSVhsv(252, 40%, 80%)
CMYKcmyk(32%, 40.4%, 0%, 20.4%)
CIE-LABlab(55.47, 25.00, -40.31)
CIE-LCHlch(55.47, 47.43, 301.81°)
OKLaboklab(62.6% 0.0457 -0.1129)
OKLCHoklch(62.6% 0.122 292)
XYZxyz(28.0953, 23.3893, 59.5227)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79CB #BACB79
analogous
#7991CB #8A79CB #B379CB
triadic
#8A79CB #CB8A79 #79CB8A
tetradic
#8A79CB #CB7991 #BACB79 #79CBB3
square
#8A79CB #CB7991 #BACB79 #79CBB3
split-complementary
#8A79CB #CBB379 #91CB79
monochromatic
#4B3891 #644DBA #8A79CB #B0A5DC #D7D1ED

Accessibility & contrast

On white

3.70
#8A79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79CB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79CB#FFFFFF#000000##000000
##8A79CB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#6283C9
Tritanopia (blue-blind)
#7B8898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a79cb;
/* rgb */ color: rgb(138, 121, 203);
/* oklch */ color: oklch(62.6% 0.122 292.0);
Tailwind
colors: {
  custom: {
    50: '#aea0db',
    500: '#8a79cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a79cb;
$custom-light: #aea0db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79cb",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 252.439,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.1218,
    "h": 292
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#8A79CB
secondary
#D8DEC1
accent
#B72E9B
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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