#785DBE#785DBE

#785DBE is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.147 H 293.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#785DBE
RGBrgb(120, 93, 190)
HSLhsl(257, 43%, 55%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(36.8%, 51.1%, 0%, 25.5%)
CIE-LABlab(46.36, 33.23, -47.39)
CIE-LCHlch(46.36, 57.88, 305.04°)
OKLaboklab(55.13% 0.0593 -0.1341)
OKLCHoklch(55.13% 0.147 293.9)
XYZxyz(20.9519, 15.5390, 50.6007)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DBE #A3BE5D
analogous
#5D72BE #785DBE #A85DBE
triadic
#785DBE #BE785D #5DBE78
tetradic
#785DBE #BE5D72 #A3BE5D #5DBEA8
square
#785DBE #BE5D72 #A3BE5D #5DBEA8
split-complementary
#785DBE #BEA85D #72BE5D
monochromatic
#412E73 #5A409E #785DBE #9C89D0 #C1B4E1

Accessibility & contrast

On white

5.11
#785DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#785DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785DBE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DBE#FFFFFF#000000##FFFFFF
##785DBE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#677085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #785dbe;
/* rgb */ color: rgb(120, 93, 190);
/* oklch */ color: oklch(55.1% 0.147 293.9);
Tailwind
colors: {
  custom: {
    50: '#a28bd2',
    500: '#785dbe',
    950: '#000000',
  },
}
SCSS
$custom: #785dbe;
$custom-light: #a28bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#785dbe",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 256.701,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.14661,
    "h": 293.9
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#785DBE
secondary
#C4D0A7
accent
#D355B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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