#8A78CB#8A78CB

#8A78CB is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.4% C 0.123 H 292.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A78CB
RGBrgb(138, 120, 203)
HSLhsl(253, 44%, 63%)
HSVhsv(253, 41%, 80%)
CMYKcmyk(32%, 40.9%, 0%, 20.4%)
CIE-LABlab(55.22, 25.59, -40.70)
CIE-LCHlch(55.22, 48.07, 302.16°)
OKLaboklab(62.41% 0.0471 -0.114)
OKLCHoklch(62.41% 0.123 292.4)
XYZxyz(27.9744, 23.1475, 59.4824)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A78CB #B9CB78
analogous
#788FCB #8A78CB #B378CB
triadic
#8A78CB #CB8A78 #78CB8A
tetradic
#8A78CB #CB788F #B9CB78 #78CBB3
square
#8A78CB #CB788F #B9CB78 #78CBB3
split-complementary
#8A78CB #CBB378 #8FCB78
monochromatic
#4B3891 #644CBA #8A78CB #B0A4DC #D7D0ED

Accessibility & contrast

On white

3.73
#8A78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A78CB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A78CB#FFFFFF#000000##000000
##8A78CB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#7B8798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a78cb;
/* rgb */ color: rgb(138, 120, 203);
/* oklch */ color: oklch(62.4% 0.123 292.4);
Tailwind
colors: {
  custom: {
    50: '#ae9fdb',
    500: '#8a78cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a78cb;
$custom-light: #ae9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78cb",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 253.012,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.12336,
    "h": 292.4
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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