#8A78CC#8A78CC

#8A78CC is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.5% C 0.125 H 292.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A78CC
RGBrgb(138, 120, 204)
HSLhsl(253, 45%, 64%)
HSVhsv(253, 41%, 80%)
CMYKcmyk(32.4%, 41.2%, 0%, 20%)
CIE-LABlab(55.27, 25.85, -41.19)
CIE-LCHlch(55.27, 48.63, 302.12°)
OKLaboklab(62.47% 0.0472 -0.1155)
OKLCHoklch(62.47% 0.125 292.2)
XYZxyz(28.0940, 23.1953, 60.1120)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A78CC #BACC78
analogous
#7890CC #8A78CC #B478CC
triadic
#8A78CC #CC8A78 #78CC8A
tetradic
#8A78CC #CC7890 #BACC78 #78CCB4
square
#8A78CC #CC7890 #BACC78 #78CCB4
split-complementary
#8A78CC #CCB478 #90CC78
monochromatic
#4B3792 #644CBB #8A78CC #B0A4DD #D7D1EE

Accessibility & contrast

On white

3.72
#8A78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A78CC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A78CC#FFFFFF#000000##000000
##8A78CC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86CF
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#7B8798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a78cc;
/* rgb */ color: rgb(138, 120, 204);
/* oklch */ color: oklch(62.5% 0.125 292.2);
Tailwind
colors: {
  custom: {
    50: '#ae9fdc',
    500: '#8a78cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a78cc;
$custom-light: #ae9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78cc",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 252.857,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.12476,
    "h": 292.2
  },
  "luminance": 0.23196
}

Semantic roles & 50–950 ramp

primary
#8A78CC
secondary
#D8DFC1
accent
#B82D9B
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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