#785BF3#785BF3

#785BF3 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.217 H 286.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#785BF3
RGBrgb(120, 91, 243)
HSLhsl(251, 86%, 65%)
HSVhsv(251, 63%, 95%)
CMYKcmyk(50.6%, 62.6%, 0%, 4.7%)
CIE-LABlab(49.43, 49.32, -72.62)
CIE-LCHlch(49.43, 87.79, 304.18°)
OKLaboklab(58.5% 0.0611 -0.2082)
OKLCHoklch(58.5% 0.217 286.4)
XYZxyz(27.6597, 17.9449, 86.7829)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BF3 #D6F35B
analogous
#5B8AF3 #785BF3 #C45BF3
triadic
#785BF3 #F3785B #5BF378
tetradic
#785BF3 #F35B8A #D6F35B #5BF3C4
square
#785BF3 #F35B8A #D6F35B #5BF3C4
split-complementary
#785BF3 #F3C45B #8AF35B
monochromatic
#310EC5 #4922EF #785BF3 #A794F7 #D6CDFB

Accessibility & contrast

On white

4.58
#785BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#785BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785BF3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BF3#FFFFFF#000000##000000
##785BF31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4A809F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785bf3;
/* rgb */ color: rgb(120, 91, 243);
/* oklch */ color: oklch(58.5% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#a88bf8',
    500: '#785bf3',
    950: '#000000',
  },
}
SCSS
$custom: #785bf3;
$custom-light: #a88bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#785bf3",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 251.447,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.21701,
    "h": 286.4
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#785BF3
secondary
#E5EEBB
accent
#E303B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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