#785ABE#785ABE

#785ABE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.6% C 0.151 H 294.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#785ABE
RGBrgb(120, 90, 190)
HSLhsl(258, 43%, 55%)
HSVhsv(258, 53%, 75%)
CMYKcmyk(36.8%, 52.6%, 0%, 25.5%)
CIE-LABlab(45.67, 35.00, -48.51)
CIE-LCHlch(45.67, 59.81, 305.81°)
OKLaboklab(54.61% 0.0632 -0.1373)
OKLCHoklch(54.61% 0.151 294.7)
XYZxyz(20.6938, 15.0227, 50.5146)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785ABE #A0BE5A
analogous
#5A6EBE #785ABE #AA5ABE
triadic
#785ABE #BE785A #5ABE78
tetradic
#785ABE #BE5A6E #A0BE5A #5ABEAA
square
#785ABE #BE5A6E #A0BE5A #5ABEAA
split-complementary
#785ABE #BEAA5A #6EBE5A
monochromatic
#412D71 #5A3E9D #785ABE #9C86CF #C0B2E1

Accessibility & contrast

On white

5.24
#785ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#785ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785ABE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785ABE#FFFFFF#000000##FFFFFF
##785ABE1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#676E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #785abe;
/* rgb */ color: rgb(120, 90, 190);
/* oklch */ color: oklch(54.6% 0.151 294.7);
Tailwind
colors: {
  custom: {
    50: '#a389d2',
    500: '#785abe',
    950: '#000000',
  },
}
SCSS
$custom: #785abe;
$custom-light: #a389d2;
$custom-dark: #000000;
JSON
{
  "hex": "#785abe",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 258,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.15119,
    "h": 294.7
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#785ABE
secondary
#C2CFA5
accent
#D355AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #785ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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