#785BFA#785BFA

#785BFA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.225 H 285.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#785BFA
RGBrgb(120, 91, 250)
HSLhsl(251, 94%, 67%)
HSVhsv(251, 64%, 98%)
CMYKcmyk(52%, 63.6%, 0%, 2%)
CIE-LABlab(49.95, 51.32, -75.68)
CIE-LCHlch(49.95, 91.45, 304.14°)
OKLaboklab(59.04% 0.0605 -0.2172)
OKLCHoklch(59.04% 0.225 285.6)
XYZxyz(28.7370, 18.3758, 92.4566)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BFA #DDFA5B
analogous
#5B8EFA #785BFA #C75BFA
triadic
#785BFA #FA785B #5BFA78
tetradic
#785BFA #FA5B8E #DDFA5B #5BFAC7
square
#785BFA #FA5B8E #DDFA5B #5BFAC7
split-complementary
#785BFA #FAC75B #8EFA5B
monochromatic
#2C06D4 #4720F8 #785BFA #A996FC #DAD2FE

Accessibility & contrast

On white

4.49
#785BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#785BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785BFA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BFA#FFFFFF#000000##000000
##785BFA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#4382A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785bfa;
/* rgb */ color: rgb(120, 91, 250);
/* oklch */ color: oklch(59.0% 0.225 285.6);
Tailwind
colors: {
  custom: {
    50: '#a98bfd',
    500: '#785bfa',
    950: '#000000',
  },
}
SCSS
$custom: #785bfa;
$custom-light: #a98bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#785bfa",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 250.943,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.22548,
    "h": 285.6
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#785BFA
secondary
#E9F2BF
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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