#785BCF#785BCF

#785BCF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.172 H 291.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#785BCF
RGBrgb(120, 91, 207)
HSLhsl(255, 55%, 58%)
HSVhsv(255, 56%, 81%)
CMYKcmyk(42%, 56%, 0%, 18.8%)
CIE-LABlab(46.95, 39.10, -56.26)
CIE-LCHlch(46.95, 68.51, 304.80°)
OKLaboklab(55.89% 0.0626 -0.1601)
OKLCHoklch(55.89% 0.172 291.3)
XYZxyz(22.7462, 15.9795, 60.9053)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BCF #B2CF5B
analogous
#5B78CF #785BCF #B25BCF
triadic
#785BCF #CF785B #5BCF78
tetradic
#785BCF #CF5B78 #B2CF5B #5BCFB2
square
#785BCF #CF5B78 #B2CF5B #5BCFB2
split-complementary
#785BCF #CFB25B #78CF5B
monochromatic
#402888 #5636B7 #785BCF #9F8ADD #C6BAEB

Accessibility & contrast

On white

5.00
#785BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#785BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BCF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BCF#FFFFFF#000000##FFFFFF
##785BCF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#60748C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785bcf;
/* rgb */ color: rgb(120, 91, 207);
/* oklch */ color: oklch(55.9% 0.172 291.3);
Tailwind
colors: {
  custom: {
    50: '#a48ade',
    500: '#785bcf',
    950: '#000000',
  },
}
SCSS
$custom: #785bcf;
$custom-light: #a48ade;
$custom-dark: #000000;
JSON
{
  "hex": "#785bcf",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 255,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.17189,
    "h": 291.3
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#785BCF
secondary
#CEDAAC
accent
#DE4AB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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