#785BF0#785BF0

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

Color values

HEX#785BF0
RGBrgb(120, 91, 240)
HSLhsl(252, 83%, 65%)
HSVhsv(252, 62%, 94%)
CMYKcmyk(50%, 62.1%, 0%, 5.9%)
CIE-LABlab(49.21, 48.46, -71.30)
CIE-LCHlch(49.21, 86.21, 304.20°)
OKLaboklab(58.27% 0.0614 -0.2043)
OKLCHoklch(58.27% 0.213 286.7)
XYZxyz(27.2104, 17.7652, 84.4165)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BF0 #D3F05B
analogous
#5B88F0 #785BF0 #C35BF0
triadic
#785BF0 #F0785B #5BF078
tetradic
#785BF0 #F05B88 #D3F05B #5BF0C3
square
#785BF0 #F05B88 #D3F05B #5BF0C3
split-complementary
#785BF0 #F0C35B #88F05B
monochromatic
#3311BF #4A23EB #785BF0 #A693F5 #D4CBFA

Accessibility & contrast

On white

4.61
#785BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#785BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785BF0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BF0#FFFFFF#000000##FFFFFF
##785BF01.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#4C7F9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785bf0;
/* rgb */ color: rgb(120, 91, 240);
/* oklch */ color: oklch(58.3% 0.213 286.7);
Tailwind
colors: {
  custom: {
    50: '#a88bf6',
    500: '#785bf0',
    950: '#000000',
  },
}
SCSS
$custom: #785bf0;
$custom-light: #a88bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#785bf0",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 251.678,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.21336,
    "h": 286.7
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #785BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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