#785FF6#785FF6

#785FF6 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.3% C 0.216 H 285.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#785FF6
RGBrgb(120, 95, 246)
HSLhsl(250, 89%, 67%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(51.2%, 61.4%, 0%, 3.5%)
CIE-LABlab(50.49, 47.95, -72.58)
CIE-LCHlch(50.49, 86.99, 303.45°)
OKLaboklab(59.34% 0.057 -0.2081)
OKLCHoklch(59.34% 0.216 285.3)
XYZxyz(28.4675, 18.8298, 89.3054)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FF6 #DDF65F
analogous
#5F92F6 #785FF6 #C45FF6
triadic
#785FF6 #F6785F #5FF678
tetradic
#785FF6 #F65F92 #DDF65F #5FF6C4
square
#785FF6 #F65F92 #DDF65F #5FF6C4
split-complementary
#785FF6 #F6C45F #92F65F
monochromatic
#2C0CCF #4725F3 #785FF6 #A999F9 #DAD3FD

Accessibility & contrast

On white

4.41
#785FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#785FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FF6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FF6#FFFFFF#000000##000000
##785FF61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#4783A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #785ff6;
/* rgb */ color: rgb(120, 95, 246);
/* oklch */ color: oklch(59.3% 0.216 285.3);
Tailwind
colors: {
  custom: {
    50: '#a88dfa',
    500: '#785ff6',
    950: '#000000',
  },
}
SCSS
$custom: #785ff6;
$custom-light: #a88dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#785ff6",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 249.934,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.21576,
    "h": 285.3
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#785FF6
secondary
#E9F1C0
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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