#785BBF#785BBF

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

Color values

HEX#785BBF
RGBrgb(120, 91, 191)
HSLhsl(257, 44%, 55%)
HSVhsv(257, 52%, 75%)
CMYKcmyk(37.2%, 52.4%, 0%, 25.1%)
CIE-LABlab(45.96, 34.68, -48.62)
CIE-LCHlch(45.96, 59.72, 305.50°)
OKLaboklab(54.84% 0.062 -0.1377)
OKLCHoklch(54.84% 0.151 294.2)
XYZxyz(20.8883, 15.2364, 51.1205)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BBF #A2BF5B
analogous
#5B70BF #785BBF #AA5BBF
triadic
#785BBF #BF785B #5BBF78
tetradic
#785BBF #BF5B70 #A2BF5B #5BBFAA
square
#785BBF #BF5B70 #A2BF5B #5BBFAA
split-complementary
#785BBF #BFAA5B #70BF5B
monochromatic
#412D73 #5A3E9F #785BBF #9C87D0 #C0B3E1

Accessibility & contrast

On white

5.19
#785BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#785BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BBF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BBF#FFFFFF#000000##FFFFFF
##785BBF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#676F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #785bbf;
/* rgb */ color: rgb(120, 91, 191);
/* oklch */ color: oklch(54.8% 0.151 294.2);
Tailwind
colors: {
  custom: {
    50: '#a38ad3',
    500: '#785bbf',
    950: '#000000',
  },
}
SCSS
$custom: #785bbf;
$custom-light: #a38ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#785bbf",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 257.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.15098,
    "h": 294.2
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#785BBF
secondary
#C4D0A6
accent
#D454AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #785BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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