#785EA5#785EA5

#785EA5 is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.8% C 0.111 H 299.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#785EA5
RGBrgb(120, 94, 165)
HSLhsl(262, 28%, 51%)
HSVhsv(262, 43%, 65%)
CMYKcmyk(27.3%, 43%, 0%, 35.3%)
CIE-LABlab(45.24, 26.00, -34.54)
CIE-LCHlch(45.24, 43.23, 306.96°)
OKLaboklab(53.84% 0.0548 -0.0966)
OKLCHoklch(53.84% 0.111 299.6)
XYZxyz(18.5384, 14.7150, 37.4536)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EA5 #8BA55E
analogous
#5E67A5 #785EA5 #9B5EA5
triadic
#785EA5 #A5785E #5EA578
tetradic
#785EA5 #A55E67 #8BA55E #5EA59B
square
#785EA5 #A55E67 #8BA55E #5EA59B
split-complementary
#785EA5 #A59B5E #67A55E
monochromatic
#3F3158 #5B477F #785EA5 #9985BB #BAADD1

Accessibility & contrast

On white

5.33
#785EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#785EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785EA5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EA5#FFFFFF#000000##FFFFFF
##785EA51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#6F6A79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #785ea5;
/* rgb */ color: rgb(120, 94, 165);
/* oklch */ color: oklch(53.8% 0.111 299.6);
Tailwind
colors: {
  custom: {
    50: '#a18cc0',
    500: '#785ea5',
    950: '#000000',
  },
}
SCSS
$custom: #785ea5;
$custom-light: #a18cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#785ea5",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 261.972,
    "s": 28.287,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.111,
    "h": 299.6
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#785EA5
secondary
#B4BFA0
accent
#C563A1
background
#FAF8FB
surface
#F3F0F7
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #785EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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