#785BED#785BED

#785BED is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.0% C 0.210 H 287.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#785BED
RGBrgb(120, 91, 237)
HSLhsl(252, 80%, 64%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(49.4%, 61.6%, 0%, 7.1%)
CIE-LABlab(48.99, 47.60, -69.97)
CIE-LCHlch(48.99, 84.63, 304.23°)
OKLaboklab(58.04% 0.0616 -0.2004)
OKLCHoklch(58.04% 0.21 287.1)
XYZxyz(26.7684, 17.5884, 82.0888)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BED #D0ED5B
analogous
#5B87ED #785BED #C15BED
triadic
#785BED #ED785B #5BED78
tetradic
#785BED #ED5B87 #D0ED5B #5BEDC1
square
#785BED #ED5B87 #D0ED5B #5BEDC1
split-complementary
#785BED #EDC15B #87ED5B
monochromatic
#3514B9 #4B24E7 #785BED #A592F3 #D3C9F9

Accessibility & contrast

On white

4.65
#785BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#785BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785BED
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BED#FFFFFF#000000##FFFFFF
##785BED1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#4E7E9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #785bed;
/* rgb */ color: rgb(120, 91, 237);
/* oklch */ color: oklch(58.0% 0.210 287.1);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#785bed',
    950: '#000000',
  },
}
SCSS
$custom: #785bed;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#785bed",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 251.918,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.20967,
    "h": 287.1
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#785BED
secondary
#E1EBB9
accent
#DD09B3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #785BED

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

Preview Lab → · Contrast checker → · Palette generator →

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