#785CD3#785CD3

#785CD3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.176 H 290.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#785CD3
RGBrgb(120, 92, 211)
HSLhsl(254, 57%, 59%)
HSVhsv(254, 56%, 83%)
CMYKcmyk(43.1%, 56.4%, 0%, 17.3%)
CIE-LABlab(47.43, 39.64, -57.77)
CIE-LCHlch(47.43, 70.07, 304.46°)
OKLaboklab(56.33% 0.0614 -0.1645)
OKLCHoklch(56.33% 0.176 290.5)
XYZxyz(23.3275, 16.3497, 63.5421)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CD3 #B7D35C
analogous
#5C7CD3 #785CD3 #B45CD3
triadic
#785CD3 #D3785C #5CD378
tetradic
#785CD3 #D35C7C #B7D35C #5CD3B4
square
#785CD3 #D35C7C #B7D35C #5CD3B4
split-complementary
#785CD3 #D3B45C #7CD35C
monochromatic
#3F268E #5433BE #785CD3 #A08CE0 #C8BCED

Accessibility & contrast

On white

4.92
#785CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#785CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CD3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CD3#FFFFFF#000000##FFFFFF
##785CD31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1673D7
Deuteranopia (green-blind)
#1D6ED0
Tritanopia (blue-blind)
#5E768F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #785cd3;
/* rgb */ color: rgb(120, 92, 211);
/* oklch */ color: oklch(56.3% 0.176 290.5);
Tailwind
colors: {
  custom: {
    50: '#a58be1',
    500: '#785cd3',
    950: '#000000',
  },
}
SCSS
$custom: #785cd3;
$custom-light: #a58be1;
$custom-dark: #000000;
JSON
{
  "hex": "#785cd3",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 254.118,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.17563,
    "h": 290.5
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#785CD3
secondary
#D2DDAE
accent
#E147BD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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