#785ACF#785ACF

#785ACF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.173 H 291.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#785ACF
RGBrgb(120, 90, 207)
HSLhsl(255, 55%, 58%)
HSVhsv(255, 57%, 81%)
CMYKcmyk(42%, 56.5%, 0%, 18.8%)
CIE-LABlab(46.72, 39.68, -56.62)
CIE-LCHlch(46.72, 69.14, 305.02°)
OKLaboklab(55.73% 0.0638 -0.1612)
OKLCHoklch(55.73% 0.173 291.6)
XYZxyz(22.6613, 15.8097, 60.8770)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785ACF #B1CF5A
analogous
#5A76CF #785ACF #B35ACF
triadic
#785ACF #CF785A #5ACF78
tetradic
#785ACF #CF5A76 #B1CF5A #5ACFB3
square
#785ACF #CF5A76 #B1CF5A #5ACFB3
split-complementary
#785ACF #CFB35A #76CF5A
monochromatic
#402787 #5635B7 #785ACF #9F89DD #C6B9EB

Accessibility & contrast

On white

5.05
#785ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#785ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785ACF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785ACF#FFFFFF#000000##FFFFFF
##785ACF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#60738C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785acf;
/* rgb */ color: rgb(120, 90, 207);
/* oklch */ color: oklch(55.7% 0.173 291.6);
Tailwind
colors: {
  custom: {
    50: '#a489de',
    500: '#785acf',
    950: '#000000',
  },
}
SCSS
$custom: #785acf;
$custom-light: #a489de;
$custom-dark: #000000;
JSON
{
  "hex": "#785acf",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 255.385,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.17331,
    "h": 291.6
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#785ACF
secondary
#CEDAAB
accent
#DE4AB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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