#785AC8#785AC8

#785AC8 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.3% C 0.164 H 292.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#785AC8
RGBrgb(120, 90, 200)
HSLhsl(256, 50%, 57%)
HSVhsv(256, 55%, 78%)
CMYKcmyk(40%, 55%, 0%, 21.6%)
CIE-LABlab(46.28, 37.74, -53.31)
CIE-LCHlch(46.28, 65.32, 305.29°)
OKLaboklab(55.26% 0.0637 -0.1514)
OKLCHoklch(55.26% 0.164 292.8)
XYZxyz(21.8244, 15.4750, 56.4695)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AC8 #AAC85A
analogous
#5A73C8 #785AC8 #AF5AC8
triadic
#785AC8 #C8785A #5AC878
tetradic
#785AC8 #C85A73 #AAC85A #5AC8AF
square
#785AC8 #C85A73 #AAC85A #5AC8AF
split-complementary
#785AC8 #C8AF5A #73C85A
monochromatic
#412A7E #5839AC #785AC8 #9E88D7 #C3B6E7

Accessibility & contrast

On white

5.13
#785AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#785AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785AC8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AC8#FFFFFF#000000##FFFFFF
##785AC81.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#637188
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #785ac8;
/* rgb */ color: rgb(120, 90, 200);
/* oklch */ color: oklch(55.3% 0.164 292.8);
Tailwind
colors: {
  custom: {
    50: '#a489d9',
    500: '#785ac8',
    950: '#000000',
  },
}
SCSS
$custom: #785ac8;
$custom-light: #a489d9;
$custom-dark: #000000;
JSON
{
  "hex": "#785ac8",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 256.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.16427,
    "h": 292.8
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#785AC8
secondary
#C9D5A8
accent
#DA4EB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #785AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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