#785BEE#785BEE

#785BEE is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.211 H 287.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#785BEE
RGBrgb(120, 91, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(49.6%, 61.8%, 0%, 6.7%)
CIE-LABlab(49.07, 47.89, -70.42)
CIE-LCHlch(49.07, 85.15, 304.22°)
OKLaboklab(58.12% 0.0615 -0.2017)
OKLCHoklch(58.12% 0.211 287)
XYZxyz(26.9149, 17.6470, 82.8604)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BEE #D1EE5B
analogous
#5B88EE #785BEE #C25BEE
triadic
#785BEE #EE785B #5BEE78
tetradic
#785BEE #EE5B88 #D1EE5B #5BEEC2
square
#785BEE #EE5B88 #D1EE5B #5BEEC2
split-complementary
#785BEE #EEC25B #88EE5B
monochromatic
#3513BB #4A24E8 #785BEE #A692F4 #D3CAF9

Accessibility & contrast

On white

4.64
#785BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#785BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785BEE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BEE#FFFFFF#000000##FFFFFF
##785BEE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#4D7E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785bee;
/* rgb */ color: rgb(120, 91, 238);
/* oklch */ color: oklch(58.1% 0.211 287.0);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#785bee',
    950: '#000000',
  },
}
SCSS
$custom: #785bee;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#785bee",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 251.837,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.2109,
    "h": 287
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#785BEE
secondary
#E2ECB9
accent
#DE08B3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #785BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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