#785DBC#785DBC

#785DBC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.0% C 0.144 H 294.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#785DBC
RGBrgb(120, 93, 188)
HSLhsl(257, 41%, 55%)
HSVhsv(257, 51%, 74%)
CMYKcmyk(36.2%, 50.5%, 0%, 26.3%)
CIE-LABlab(46.25, 32.69, -46.42)
CIE-LCHlch(46.25, 56.77, 305.15°)
OKLaboklab(55% 0.0592 -0.1312)
OKLCHoklch(55% 0.144 294.3)
XYZxyz(20.7348, 15.4522, 49.4573)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DBC #A1BC5D
analogous
#5D71BC #785DBC #A85DBC
triadic
#785DBC #BC785D #5DBC78
tetradic
#785DBC #BC5D71 #A1BC5D #5DBCA8
square
#785DBC #BC5D71 #A1BC5D #5DBCA8
split-complementary
#785DBC #BCA85D #71BC5D
monochromatic
#412E70 #5A409B #785DBC #9C88CE #C0B4E0

Accessibility & contrast

On white

5.13
#785DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#785DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785DBC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DBC#FFFFFF#000000##FFFFFF
##785DBC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#687084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #785dbc;
/* rgb */ color: rgb(120, 93, 188);
/* oklch */ color: oklch(55.0% 0.144 294.3);
Tailwind
colors: {
  custom: {
    50: '#a28bd1',
    500: '#785dbc',
    950: '#000000',
  },
}
SCSS
$custom: #785dbc;
$custom-light: #a28bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#785dbc",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 257.053,
    "s": 41.485,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55,
    "c": 0.14393,
    "h": 294.3
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#785DBC
secondary
#C3CEA6
accent
#D156AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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