#8A79CF#8A79CF

#8A79CF is a light, vivid violet. Relative luminance 0.236; OKLCH L 62.8% C 0.127 H 291.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A79CF
RGBrgb(138, 121, 207)
HSLhsl(252, 47%, 64%)
HSVhsv(252, 42%, 81%)
CMYKcmyk(33.3%, 41.5%, 0%, 18.8%)
CIE-LABlab(55.67, 26.06, -42.26)
CIE-LCHlch(55.67, 49.65, 301.65°)
OKLaboklab(62.81% 0.0464 -0.1186)
OKLCHoklch(62.81% 0.127 291.4)
XYZxyz(28.5782, 23.5824, 62.0656)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79CF #BECF79
analogous
#7993CF #8A79CF #B579CF
triadic
#8A79CF #CF8A79 #79CF8A
tetradic
#8A79CF #CF7993 #BECF79 #79CFB5
square
#8A79CF #CF7993 #BECF79 #79CFB5
split-complementary
#8A79CF #CFB579 #93CF79
monochromatic
#493697 #634CBF #8A79CF #B1A6DF #D9D3EF

Accessibility & contrast

On white

3.67
#8A79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79CF#FFFFFF#000000##000000
##8A79CF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#5F84CD
Tritanopia (blue-blind)
#79899A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a79cf;
/* rgb */ color: rgb(138, 121, 207);
/* oklch */ color: oklch(62.8% 0.127 291.4);
Tailwind
colors: {
  custom: {
    50: '#aea0de',
    500: '#8a79cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a79cf;
$custom-light: #aea0de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79cf",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 251.86,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62814,
    "c": 0.12736,
    "h": 291.4
  },
  "luminance": 0.23583
}

Semantic roles & 50–950 ramp

primary
#8A79CF
secondary
#DBE1C3
accent
#BB2B9E
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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