#785CCD#785CCD

#785CCD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.168 H 291.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#785CCD
RGBrgb(120, 92, 205)
HSLhsl(255, 53%, 58%)
HSVhsv(255, 55%, 80%)
CMYKcmyk(41.5%, 55.1%, 0%, 19.6%)
CIE-LABlab(47.05, 37.96, -54.95)
CIE-LCHlch(47.05, 66.79, 304.64°)
OKLaboklab(55.93% 0.0614 -0.1563)
OKLCHoklch(55.93% 0.168 291.4)
XYZxyz(22.5893, 16.0545, 59.6544)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CCD #B1CD5C
analogous
#5C78CD #785CCD #B05CCD
triadic
#785CCD #CD785C #5CCD78
tetradic
#785CCD #CD5C78 #B1CD5C #5CCDB0
square
#785CCD #CD5C78 #B1CD5C #5CCDB0
split-complementary
#785CCD #CDB05C #78CD5C
monochromatic
#402986 #5637B4 #785CCD #9F8BDB #C6BAEA

Accessibility & contrast

On white

4.99
#785CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#785CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CCD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CCD#FFFFFF#000000##FFFFFF
##785CCD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#61748C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #785ccd;
/* rgb */ color: rgb(120, 92, 205);
/* oklch */ color: oklch(55.9% 0.168 291.4);
Tailwind
colors: {
  custom: {
    50: '#a48bdd',
    500: '#785ccd',
    950: '#000000',
  },
}
SCSS
$custom: #785ccd;
$custom-light: #a48bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#785ccd",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 254.867,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.16787,
    "h": 291.4
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#785CCD
secondary
#CED9AC
accent
#DC4BB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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