#785BDF#785BDF

#785BDF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.192 H 288.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#785BDF
RGBrgb(120, 91, 223)
HSLhsl(253, 67%, 62%)
HSVhsv(253, 59%, 87%)
CMYKcmyk(46.2%, 59.2%, 0%, 12.5%)
CIE-LABlab(48.01, 43.61, -63.67)
CIE-LCHlch(48.01, 77.17, 304.41°)
OKLaboklab(57.01% 0.0624 -0.1819)
OKLCHoklch(57.01% 0.192 288.9)
XYZxyz(24.8023, 16.8020, 71.7340)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BDF #C2DF5B
analogous
#5B80DF #785BDF #BA5BDF
triadic
#785BDF #DF785B #5BDF78
tetradic
#785BDF #DF5B80 #C2DF5B #5BDFBA
square
#785BDF #DF5B80 #C2DF5B #5BDFBA
split-complementary
#785BDF #DFBA5B #80DF5B
monochromatic
#3C1FA0 #4F29D4 #785BDF #A28EE9 #CCC1F3

Accessibility & contrast

On white

4.82
#785BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#785BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BDF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BDF#FFFFFF#000000##FFFFFF
##785BDF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#577994
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #785bdf;
/* rgb */ color: rgb(120, 91, 223);
/* oklch */ color: oklch(57.0% 0.192 288.9);
Tailwind
colors: {
  custom: {
    50: '#a68aea',
    500: '#785bdf',
    950: '#000000',
  },
}
SCSS
$custom: #785bdf;
$custom-light: #a68aea;
$custom-dark: #000000;
JSON
{
  "hex": "#785bdf",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 253.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.19227,
    "h": 288.9
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#785BDF
secondary
#D9E3B2
accent
#CF16A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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