#785BBD#785BBD

#785BBD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.148 H 294.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#785BBD
RGBrgb(120, 91, 189)
HSLhsl(258, 43%, 55%)
HSVhsv(258, 52%, 74%)
CMYKcmyk(36.5%, 51.9%, 0%, 25.9%)
CIE-LABlab(45.84, 34.14, -47.65)
CIE-LCHlch(45.84, 58.62, 305.62°)
OKLaboklab(54.71% 0.0619 -0.1348)
OKLCHoklch(54.71% 0.148 294.6)
XYZxyz(20.6698, 15.1490, 49.9693)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BBD #A0BD5B
analogous
#5B6FBD #785BBD #A95BBD
triadic
#785BBD #BD785B #5BBD78
tetradic
#785BBD #BD5B6F #A0BD5B #5BBDA9
square
#785BBD #BD5B6F #A0BD5B #5BBDA9
split-complementary
#785BBD #BDA95B #6FBD5B
monochromatic
#412D70 #5A3F9C #785BBD #9C87CF #C0B2E0

Accessibility & contrast

On white

5.21
#785BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#785BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BBD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BBD#FFFFFF#000000##FFFFFF
##785BBD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#676F83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #785bbd;
/* rgb */ color: rgb(120, 91, 189);
/* oklch */ color: oklch(54.7% 0.148 294.6);
Tailwind
colors: {
  custom: {
    50: '#a28ad1',
    500: '#785bbd',
    950: '#000000',
  },
}
SCSS
$custom: #785bbd;
$custom-light: #a28ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#785bbd",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 257.755,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.14834,
    "h": 294.6
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#785BBD
secondary
#C2CFA5
accent
#D255AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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