#785DBB#785DBB

#785DBB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.9% C 0.143 H 294.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#785DBB
RGBrgb(120, 93, 187)
HSLhsl(257, 41%, 55%)
HSVhsv(257, 50%, 73%)
CMYKcmyk(35.8%, 50.3%, 0%, 26.7%)
CIE-LABlab(46.19, 32.41, -45.93)
CIE-LCHlch(46.19, 56.21, 305.21°)
OKLaboklab(54.94% 0.0591 -0.1298)
OKLCHoklch(54.94% 0.143 294.5)
XYZxyz(20.6274, 15.4092, 48.8916)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DBB #A0BB5D
analogous
#5D71BB #785DBB #A75DBB
triadic
#785DBB #BB785D #5DBB78
tetradic
#785DBB #BB5D71 #A0BB5D #5DBBA7
square
#785DBB #BB5D71 #A0BB5D #5DBBA7
split-complementary
#785DBB #BBA75D #71BB5D
monochromatic
#412F6F #5A419A #785DBB #9C88CD #C0B3DF

Accessibility & contrast

On white

5.14
#785DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#785DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785DBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DBB#FFFFFF#000000##FFFFFF
##785DBB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#687083
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #785dbb;
/* rgb */ color: rgb(120, 93, 187);
/* oklch */ color: oklch(54.9% 0.143 294.5);
Tailwind
colors: {
  custom: {
    50: '#a28bd0',
    500: '#785dbb',
    950: '#000000',
  },
}
SCSS
$custom: #785dbb;
$custom-light: #a28bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#785dbb",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 257.234,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.14259,
    "h": 294.5
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#785DBB
secondary
#C2CEA6
accent
#D157AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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