#785BCD#785BCD

#785BCD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.169 H 291.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#785BCD
RGBrgb(120, 91, 205)
HSLhsl(255, 53%, 58%)
HSVhsv(255, 56%, 80%)
CMYKcmyk(41.5%, 55.6%, 0%, 19.6%)
CIE-LABlab(46.82, 38.54, -55.32)
CIE-LCHlch(46.82, 67.42, 304.87°)
OKLaboklab(55.76% 0.0626 -0.1573)
OKLCHoklch(55.76% 0.169 291.7)
XYZxyz(22.5033, 15.8824, 59.6257)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BCD #B0CD5B
analogous
#5B77CD #785BCD #B15BCD
triadic
#785BCD #CD785B #5BCD78
tetradic
#785BCD #CD5B77 #B0CD5B #5BCDB1
square
#785BCD #CD5B77 #B0CD5B #5BCDB1
split-complementary
#785BCD #CDB15B #77CD5B
monochromatic
#402985 #5737B4 #785BCD #9F8ADB #C5B9EA

Accessibility & contrast

On white

5.03
#785BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#785BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BCD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BCD#FFFFFF#000000##FFFFFF
##785BCD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#61738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785bcd;
/* rgb */ color: rgb(120, 91, 205);
/* oklch */ color: oklch(55.8% 0.169 291.7);
Tailwind
colors: {
  custom: {
    50: '#a48add',
    500: '#785bcd',
    950: '#000000',
  },
}
SCSS
$custom: #785bcd;
$custom-light: #a48add;
$custom-dark: #000000;
JSON
{
  "hex": "#785bcd",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 255.263,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.16931,
    "h": 291.7
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#785BCD
secondary
#CDD9AB
accent
#DD4BB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785BCD

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

Preview Lab → · Contrast checker → · Palette generator →

#785BCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva