#785BB3#785BB3

#785BB3 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.1% C 0.135 H 296.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#785BB3
RGBrgb(120, 91, 179)
HSLhsl(260, 37%, 53%)
HSVhsv(260, 49%, 70%)
CMYKcmyk(33%, 49.2%, 0%, 29.8%)
CIE-LABlab(45.26, 31.45, -42.74)
CIE-LCHlch(45.26, 53.06, 306.35°)
OKLaboklab(54.1% 0.061 -0.1204)
OKLCHoklch(54.1% 0.135 296.8)
XYZxyz(19.6215, 14.7297, 44.4484)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BB3 #96B35B
analogous
#5B6AB3 #785BB3 #A45BB3
triadic
#785BB3 #B3785B #5BB378
tetradic
#785BB3 #B35B6A #96B35B #5BB3A4
square
#785BB3 #B35B6A #96B35B #5BB3A4
split-complementary
#785BB3 #B3A45B #6AB35B
monochromatic
#412F65 #5B428F #785BB3 #9A85C6 #BDAFDA

Accessibility & contrast

On white

5.32
#785BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#785BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BB3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BB3#FFFFFF#000000##FFFFFF
##785BB31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB6
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#6B6C7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #785bb3;
/* rgb */ color: rgb(120, 91, 179);
/* oklch */ color: oklch(54.1% 0.135 296.8);
Tailwind
colors: {
  custom: {
    50: '#a28aca',
    500: '#785bb3',
    950: '#000000',
  },
}
SCSS
$custom: #785bb3;
$custom-light: #a28aca;
$custom-dark: #000000;
JSON
{
  "hex": "#785bb3",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 259.773,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.13499,
    "h": 296.8
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#785BB3
secondary
#BBC8A2
accent
#CD5BA7
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #785BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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