#785FBE#785FBE

#785FBE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.144 H 293.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#785FBE
RGBrgb(120, 95, 190)
HSLhsl(256, 42%, 56%)
HSVhsv(256, 50%, 75%)
CMYKcmyk(36.8%, 50%, 0%, 25.5%)
CIE-LABlab(46.84, 32.05, -46.64)
CIE-LCHlch(46.84, 56.59, 304.50°)
OKLaboklab(55.48% 0.0567 -0.1318)
OKLCHoklch(55.48% 0.144 293.3)
XYZxyz(21.1298, 15.8947, 50.6599)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FBE #A5BE5F
analogous
#5F75BE #785FBE #A75FBE
triadic
#785FBE #BE785F #5FBE78
tetradic
#785FBE #BE5F75 #A5BE5F #5FBEA7
square
#785FBE #BE5F75 #A5BE5F #5FBEA7
split-complementary
#785FBE #BEA75F #75BE5F
monochromatic
#412F74 #5A419F #785FBE #9D8BD0 #C1B6E1

Accessibility & contrast

On white

5.03
#785FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#785FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FBE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FBE#FFFFFF#000000##FFFFFF
##785FBE1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#677286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785fbe;
/* rgb */ color: rgb(120, 95, 190);
/* oklch */ color: oklch(55.5% 0.144 293.3);
Tailwind
colors: {
  custom: {
    50: '#a28dd2',
    500: '#785fbe',
    950: '#000000',
  },
}
SCSS
$custom: #785fbe;
$custom-light: #a28dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#785fbe",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 255.789,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55477,
    "c": 0.14354,
    "h": 293.3
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#785FBE
secondary
#C6D0A9
accent
#D256B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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