#785BF1#785BF1

#785BF1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.215 H 286.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#785BF1
RGBrgb(120, 91, 241)
HSLhsl(252, 84%, 65%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(50.2%, 62.2%, 0%, 5.5%)
CIE-LABlab(49.28, 48.74, -71.74)
CIE-LCHlch(49.28, 86.74, 304.19°)
OKLaboklab(58.34% 0.0613 -0.2056)
OKLCHoklch(58.34% 0.215 286.6)
XYZxyz(27.3593, 17.8248, 85.2010)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BF1 #D4F15B
analogous
#5B89F1 #785BF1 #C35BF1
triadic
#785BF1 #F1785B #5BF178
tetradic
#785BF1 #F15B89 #D4F15B #5BF1C3
square
#785BF1 #F15B89 #D4F15B #5BF1C3
split-complementary
#785BF1 #F1C35B #89F15B
monochromatic
#3310C1 #4A23EC #785BF1 #A693F6 #D5CCFB

Accessibility & contrast

On white

4.60
#785BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#785BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785BF1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BF1#FFFFFF#000000##FFFFFF
##785BF11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#4B7F9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785bf1;
/* rgb */ color: rgb(120, 91, 241);
/* oklch */ color: oklch(58.3% 0.215 286.6);
Tailwind
colors: {
  custom: {
    50: '#a88bf7',
    500: '#785bf1',
    950: '#000000',
  },
}
SCSS
$custom: #785bf1;
$custom-light: #a88bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#785bf1",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 251.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.21457,
    "h": 286.6
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#785BF1
secondary
#E3EDBA
accent
#E105B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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