#786CDA#786CDA

#786CDA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.6% C 0.162 H 285.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#786CDA
RGBrgb(120, 108, 218)
HSLhsl(247, 60%, 64%)
HSVhsv(247, 50%, 85%)
CMYKcmyk(45%, 50.5%, 0%, 14.5%)
CIE-LABlab(51.59, 32.25, -55.07)
CIE-LCHlch(51.59, 63.82, 300.35°)
OKLaboklab(59.56% 0.0429 -0.1566)
OKLCHoklch(59.56% 0.162 285.3)
XYZxyz(25.7595, 19.7790, 68.7765)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786CDA #CEDA6C
analogous
#6C97DA #786CDA #AF6CDA
triadic
#786CDA #DA786C #6CDA78
tetradic
#786CDA #DA6C97 #CEDA6C #6CDAAF
square
#786CDA #DA6C97 #CEDA6C #6CDAAF
split-complementary
#786CDA #DAAF6C #97DA6C
monochromatic
#3629A3 #4B3BCE #786CDA #A59DE6 #D2CEF3

Accessibility & contrast

On white

4.24
#786CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#786CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786CDA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786CDA#FFFFFF#000000##000000
##786CDA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDE
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#598399
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #786cda;
/* rgb */ color: rgb(120, 108, 218);
/* oklch */ color: oklch(59.6% 0.162 285.3);
Tailwind
colors: {
  custom: {
    50: '#a496e6',
    500: '#786cda',
    950: '#000000',
  },
}
SCSS
$custom: #786cda;
$custom-light: #a496e6;
$custom-dark: #000000;
JSON
{
  "hex": "#786cda",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 246.545,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.16232,
    "h": 285.3
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#786CDA
secondary
#E0E4BE
accent
#C71EB5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786CDA

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

Preview Lab → · Contrast checker → · Palette generator →

#786CDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva