#785EFB#785EFB

#785EFB is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.6% C 0.223 H 285.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#785EFB
RGBrgb(120, 94, 251)
HSLhsl(250, 95%, 68%)
HSVhsv(250, 63%, 98%)
CMYKcmyk(52.2%, 62.5%, 0%, 1.6%)
CIE-LABlab(50.64, 49.96, -75.11)
CIE-LCHlch(50.64, 90.21, 303.63°)
OKLaboklab(59.56% 0.0576 -0.2155)
OKLCHoklch(59.56% 0.223 285)
XYZxyz(29.1558, 18.9619, 93.3718)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EFB #E1FB5E
analogous
#5E93FB #785EFB #C65EFB
triadic
#785EFB #FB785E #5EFB78
tetradic
#785EFB #FB5E93 #E1FB5E #5EFBC6
square
#785EFB #FB5E93 #E1FB5E #5EFBC6
split-complementary
#785EFB #FBC65E #93FB5E
monochromatic
#2805D9 #4622FA #785EFB #AA9AFC #DCD5FE

Accessibility & contrast

On white

4.38
#785EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#785EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785EFB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EFB#FFFFFF#000000##000000
##785EFB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F8
Tritanopia (blue-blind)
#4284A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #785efb;
/* rgb */ color: rgb(120, 94, 251);
/* oklch */ color: oklch(59.6% 0.223 285.0);
Tailwind
colors: {
  custom: {
    50: '#a98dfe',
    500: '#785efb',
    950: '#000000',
  },
}
SCSS
$custom: #785efb;
$custom-light: #a98dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#785efb",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 249.936,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.22309,
    "h": 285
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#785EFB
secondary
#EBF3C2
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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