#8A78CD#8A78CD

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

Color values

HEX#8A78CD
RGBrgb(138, 120, 205)
HSLhsl(253, 46%, 64%)
HSVhsv(253, 41%, 80%)
CMYKcmyk(32.7%, 41.5%, 0%, 19.6%)
CIE-LABlab(55.32, 26.12, -41.68)
CIE-LCHlch(55.32, 49.18, 302.07°)
OKLaboklab(62.52% 0.0474 -0.1169)
OKLCHoklch(62.52% 0.126 292.1)
XYZxyz(28.2143, 23.2434, 60.7457)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A78CD #BBCD78
analogous
#7890CD #8A78CD #B478CD
triadic
#8A78CD #CD8A78 #78CD8A
tetradic
#8A78CD #CD7890 #BBCD78 #78CDB4
square
#8A78CD #CD7890 #BBCD78 #78CDB4
split-complementary
#8A78CD #CDB478 #90CD78
monochromatic
#4A3794 #634BBC #8A78CD #B1A5DE #D7D1EE

Accessibility & contrast

On white

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

On black

5.65
#8A78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A78CD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A78CD#FFFFFF#000000##000000
##8A78CD1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#7A8899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a78cd;
/* rgb */ color: rgb(138, 120, 205);
/* oklch */ color: oklch(62.5% 0.126 292.1);
Tailwind
colors: {
  custom: {
    50: '#ae9fdc',
    500: '#8a78cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a78cd;
$custom-light: #ae9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78cd",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 252.706,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.12614,
    "h": 292.1
  },
  "luminance": 0.23244
}

Semantic roles & 50–950 ramp

primary
#8A78CD
secondary
#D9DFC1
accent
#B92C9B
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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