#785EFD#785EFD

#785EFD is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.7% C 0.226 H 284.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#785EFD
RGBrgb(120, 94, 253)
HSLhsl(250, 98%, 68%)
HSVhsv(250, 63%, 99%)
CMYKcmyk(52.6%, 62.8%, 0%, 0.8%)
CIE-LABlab(50.79, 50.53, -75.98)
CIE-LCHlch(50.79, 91.25, 303.63°)
OKLaboklab(59.72% 0.0574 -0.2181)
OKLCHoklch(59.72% 0.226 284.7)
XYZxyz(29.4727, 19.0887, 95.0409)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EFD #E3FD5E
analogous
#5E94FD #785EFD #C75EFD
triadic
#785EFD #FD785E #5EFD78
tetradic
#785EFD #FD5E94 #E3FD5E #5EFDC7
square
#785EFD #FD5E94 #E3FD5E #5EFDC7
split-complementary
#785EFD #FDC75E #94FD5E
monochromatic
#2703DE #4522FC #785EFD #AB9AFE #DDD7FF

Accessibility & contrast

On white

4.36
#785EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#785EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785EFD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EFD#FFFFFF#000000##000000
##785EFD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4085A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #785efd;
/* rgb */ color: rgb(120, 94, 253);
/* oklch */ color: oklch(59.7% 0.226 284.7);
Tailwind
colors: {
  custom: {
    50: '#a98dff',
    500: '#785efd',
    950: '#000000',
  },
}
SCSS
$custom: #785efd;
$custom-light: #a98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#785efd",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 249.811,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.22552,
    "h": 284.7
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#785EFD
secondary
#ECF4C3
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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