#785DCE#785DCE

#785DCE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.168 H 291.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#785DCE
RGBrgb(120, 93, 206)
HSLhsl(254, 54%, 59%)
HSVhsv(254, 55%, 81%)
CMYKcmyk(41.7%, 54.9%, 0%, 19.2%)
CIE-LABlab(47.34, 37.66, -55.06)
CIE-LCHlch(47.34, 66.71, 304.37°)
OKLaboklab(56.16% 0.0602 -0.1566)
OKLCHoklch(56.16% 0.168 291)
XYZxyz(22.7976, 16.2773, 60.3212)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DCE #B3CE5D
analogous
#5D7ACE #785DCE #B05DCE
triadic
#785DCE #CE785D #5DCE78
tetradic
#785DCE #CE5D7A #B3CE5D #5DCEB0
square
#785DCE #CE5D7A #B3CE5D #5DCEB0
split-complementary
#785DCE #CEB05D #7ACE5D
monochromatic
#402988 #5637B7 #785DCE #9F8CDC #C6BBEA

Accessibility & contrast

On white

4.93
#785DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#785DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785DCE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DCE#FFFFFF#000000##FFFFFF
##785DCE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#296ECB
Tritanopia (blue-blind)
#60758C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #785dce;
/* rgb */ color: rgb(120, 93, 206);
/* oklch */ color: oklch(56.2% 0.168 291.0);
Tailwind
colors: {
  custom: {
    50: '#a48cde',
    500: '#785dce',
    950: '#000000',
  },
}
SCSS
$custom: #785dce;
$custom-light: #a48cde;
$custom-dark: #000000;
JSON
{
  "hex": "#785dce",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 254.336,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.16773,
    "h": 291
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

primary
#785DCE
secondary
#CFDAAD
accent
#DD4BBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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