#785BCE#785BCE

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

Color values

HEX#785BCE
RGBrgb(120, 91, 206)
HSLhsl(255, 54%, 58%)
HSVhsv(255, 56%, 81%)
CMYKcmyk(41.7%, 55.8%, 0%, 19.2%)
CIE-LABlab(46.88, 38.82, -55.79)
CIE-LCHlch(46.88, 67.97, 304.83°)
OKLaboklab(55.83% 0.0626 -0.1587)
OKLCHoklch(55.83% 0.171 291.5)
XYZxyz(22.6243, 15.9308, 60.2635)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BCE #B1CE5B
analogous
#5B77CE #785BCE #B15BCE
triadic
#785BCE #CE785B #5BCE78
tetradic
#785BCE #CE5B77 #B1CE5B #5BCEB1
square
#785BCE #CE5B77 #B1CE5B #5BCEB1
split-complementary
#785BCE #CEB15B #77CE5B
monochromatic
#402886 #5636B6 #785BCE #9F8ADC #C6B9EA

Accessibility & contrast

On white

5.02
#785BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#785BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BCE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BCE#FFFFFF#000000##FFFFFF
##785BCE1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#256DCB
Tritanopia (blue-blind)
#60748C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785bce;
/* rgb */ color: rgb(120, 91, 206);
/* oklch */ color: oklch(55.8% 0.171 291.5);
Tailwind
colors: {
  custom: {
    50: '#a48ade',
    500: '#785bce',
    950: '#000000',
  },
}
SCSS
$custom: #785bce;
$custom-light: #a48ade;
$custom-dark: #000000;
JSON
{
  "hex": "#785bce",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 255.13,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.17059,
    "h": 291.5
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#785BCE
secondary
#CED9AB
accent
#DD4AB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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