#786DCB#786DCB

#786DCB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.140 H 286.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#786DCB
RGBrgb(120, 109, 203)
HSLhsl(247, 47%, 61%)
HSVhsv(247, 46%, 80%)
CMYKcmyk(40.9%, 46.3%, 0%, 20.4%)
CIE-LABlab(50.97, 27.33, -47.53)
CIE-LCHlch(50.97, 54.83, 299.90°)
OKLaboklab(58.82% 0.0401 -0.1344)
OKLCHoklch(58.82% 0.14 286.6)
XYZxyz(23.9908, 19.2413, 58.9382)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DCB #C0CB6D
analogous
#6D91CB #786DCB #A76DCB
triadic
#786DCB #CB786D #6DCB78
tetradic
#786DCB #CB6D91 #C0CB6D #6DCBA7
square
#786DCB #CB6D91 #C0CB6D #6DCBA7
split-complementary
#786DCB #CBA76D #91CB6D
monochromatic
#3C328C #5042B9 #786DCB #A29ADB #CBC7EB

Accessibility & contrast

On white

4.33
#786DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#786DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DCB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DCB#FFFFFF#000000##000000
##786DCB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#608092
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #786dcb;
/* rgb */ color: rgb(120, 109, 203);
/* oklch */ color: oklch(58.8% 0.140 286.6);
Tailwind
colors: {
  custom: {
    50: '#a397db',
    500: '#786dcb',
    950: '#000000',
  },
}
SCSS
$custom: #786dcb;
$custom-light: #a397db;
$custom-dark: #000000;
JSON
{
  "hex": "#786dcb",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 247.021,
    "s": 47.475,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.14029,
    "h": 286.6
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#786DCB
secondary
#D7DCB8
accent
#BB2BAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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