#785BBE#785BBE

#785BBE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.150 H 294.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#785BBE
RGBrgb(120, 91, 190)
HSLhsl(258, 43%, 55%)
HSVhsv(258, 52%, 75%)
CMYKcmyk(36.8%, 52.1%, 0%, 25.5%)
CIE-LABlab(45.90, 34.41, -48.14)
CIE-LCHlch(45.90, 59.17, 305.56°)
OKLaboklab(54.78% 0.0619 -0.1362)
OKLCHoklch(54.78% 0.15 294.4)
XYZxyz(20.7787, 15.1925, 50.5429)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BBE #A1BE5B
analogous
#5B6FBE #785BBE #AA5BBE
triadic
#785BBE #BE785B #5BBE78
tetradic
#785BBE #BE5B6F #A1BE5B #5BBEAA
square
#785BBE #BE5B6F #A1BE5B #5BBEAA
split-complementary
#785BBE #BEAA5B #6FBE5B
monochromatic
#412D72 #5A3E9D #785BBE #9C87CF #C0B3E1

Accessibility & contrast

On white

5.20
#785BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#785BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BBE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BBE#FFFFFF#000000##FFFFFF
##785BBE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#676F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #785bbe;
/* rgb */ color: rgb(120, 91, 190);
/* oklch */ color: oklch(54.8% 0.150 294.4);
Tailwind
colors: {
  custom: {
    50: '#a38ad2',
    500: '#785bbe',
    950: '#000000',
  },
}
SCSS
$custom: #785bbe;
$custom-light: #a38ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#785bbe",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 257.576,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54777,
    "c": 0.14966,
    "h": 294.4
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#785BBE
secondary
#C3CFA6
accent
#D355AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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