#785CA2#785CA2

#785CA2 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.3% C 0.110 H 301.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#785CA2
RGBrgb(120, 92, 162)
HSLhsl(264, 28%, 50%)
HSVhsv(264, 43%, 64%)
CMYKcmyk(25.9%, 43.2%, 0%, 36.5%)
CIE-LABlab(44.60, 26.43, -33.78)
CIE-LCHlch(44.60, 42.89, 308.03°)
OKLaboklab(53.31% 0.0571 -0.0943)
OKLCHoklch(53.31% 0.11 301.2)
XYZxyz(18.0930, 14.2560, 35.9739)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CA2 #86A25C
analogous
#5C63A2 #785CA2 #9B5CA2
triadic
#785CA2 #A2785C #5CA278
tetradic
#785CA2 #A25C63 #86A25C #5CA29B
square
#785CA2 #A25C63 #86A25C #5CA29B
split-complementary
#785CA2 #A29B5C #63A25C
monochromatic
#3E3054 #5B467B #785CA2 #9883B8 #B9AACF

Accessibility & contrast

On white

5.45
#785CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#785CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CA2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CA2#FFFFFF#000000##FFFFFF
##785CA21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#706877
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #785ca2;
/* rgb */ color: rgb(120, 92, 162);
/* oklch */ color: oklch(53.3% 0.110 301.2);
Tailwind
colors: {
  custom: {
    50: '#a08abe',
    500: '#785ca2',
    950: '#000000',
  },
}
SCSS
$custom: #785ca2;
$custom-light: #a08abe;
$custom-dark: #000000;
JSON
{
  "hex": "#785ca2",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 264,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.1103,
    "h": 301.2
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#785CA2
secondary
#B0BD9D
accent
#C4649D
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #785CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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