#8A79CD#8A79CD

#8A79CD is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.7% C 0.125 H 291.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A79CD
RGBrgb(138, 121, 205)
HSLhsl(252, 46%, 64%)
HSVhsv(252, 41%, 80%)
CMYKcmyk(32.7%, 41%, 0%, 19.6%)
CIE-LABlab(55.57, 25.53, -41.29)
CIE-LCHlch(55.57, 48.54, 301.73°)
OKLaboklab(62.71% 0.0461 -0.1158)
OKLCHoklch(62.71% 0.125 291.7)
XYZxyz(28.3352, 23.4852, 60.7860)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79CD #BCCD79
analogous
#7992CD #8A79CD #B479CD
triadic
#8A79CD #CD8A79 #79CD8A
tetradic
#8A79CD #CD7992 #BCCD79 #79CDB4
square
#8A79CD #CD7992 #BCCD79 #79CDB4
split-complementary
#8A79CD #CDB479 #92CD79
monochromatic
#4A3794 #634CBC #8A79CD #B1A6DE #D8D2EE

Accessibility & contrast

On white

3.69
#8A79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79CD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79CD#FFFFFF#000000##000000
##8A79CD1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6183CB
Tritanopia (blue-blind)
#7A8899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a79cd;
/* rgb */ color: rgb(138, 121, 205);
/* oklch */ color: oklch(62.7% 0.125 291.7);
Tailwind
colors: {
  custom: {
    50: '#aea0dc',
    500: '#8a79cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a79cd;
$custom-light: #aea0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79cd",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 252.143,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62707,
    "c": 0.12458,
    "h": 291.7
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#8A79CD
secondary
#DAE0C2
accent
#B92D9C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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