#785FBD#785FBD

#785FBD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.4% C 0.142 H 293.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#785FBD
RGBrgb(120, 95, 189)
HSLhsl(256, 42%, 56%)
HSVhsv(256, 50%, 74%)
CMYKcmyk(36.5%, 49.7%, 0%, 25.9%)
CIE-LABlab(46.78, 31.77, -46.15)
CIE-LCHlch(46.78, 56.03, 304.55°)
OKLaboklab(55.42% 0.0566 -0.1304)
OKLCHoklch(55.42% 0.142 293.5)
XYZxyz(21.0209, 15.8512, 50.0863)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FBD #A4BD5F
analogous
#5F75BD #785FBD #A75FBD
triadic
#785FBD #BD785F #5FBD78
tetradic
#785FBD #BD5F75 #A4BD5F #5FBDA7
square
#785FBD #BD5F75 #A4BD5F #5FBDA7
split-complementary
#785FBD #BDA75F #75BD5F
monochromatic
#412F72 #5A419E #785FBD #9D8ACF #C1B6E1

Accessibility & contrast

On white

5.04
#785FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#785FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FBD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FBD#FFFFFF#000000##FFFFFF
##785FBD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#677285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785fbd;
/* rgb */ color: rgb(120, 95, 189);
/* oklch */ color: oklch(55.4% 0.142 293.5);
Tailwind
colors: {
  custom: {
    50: '#a28dd1',
    500: '#785fbd',
    950: '#000000',
  },
}
SCSS
$custom: #785fbd;
$custom-light: #a28dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#785fbd",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 255.957,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.14219,
    "h": 293.5
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#785FBD
secondary
#C5CFA8
accent
#D156B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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