#785382#785382

#785382 is a mid, moderate purple. Relative luminance 0.118; OKLCH L 50.0% C 0.085 H 318.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#785382
RGBrgb(120, 83, 130)
HSLhsl(287, 22%, 42%)
HSVhsv(287, 36%, 51%)
CMYKcmyk(7.7%, 36.2%, 0%, 49%)
CIE-LABlab(40.88, 24.22, -20.36)
CIE-LCHlch(40.88, 31.64, 319.95°)
OKLaboklab(50.01% 0.064 -0.0557)
OKLCHoklch(50.01% 0.085 318.9)
XYZxyz(14.8677, 11.7917, 22.6076)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785382 #5D8253
analogous
#615382 #785382 #825375
triadic
#785382 #827853 #538278
tetradic
#785382 #826153 #5D8253 #537582
square
#785382 #826153 #5D8253 #537582
split-complementary
#785382 #758253 #538261
monochromatic
#332337 #563B5D #785382 #986FA3 #B394BB

Accessibility & contrast

On white

6.25
#785382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#785382 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785382
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785382#FFFFFF#000000##FFFFFF
##7853821.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#566281
Tritanopia (blue-blind)
#785864
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #785382;
/* rgb */ color: rgb(120, 83, 130);
/* oklch */ color: oklch(50.0% 0.085 318.9);
Tailwind
colors: {
  custom: {
    50: '#a084a6',
    500: '#785382',
    950: '#000000',
  },
}
SCSS
$custom: #785382;
$custom-light: #a084a6;
$custom-dark: #000000;
JSON
{
  "hex": "#785382",
  "rgb": {
    "r": 120,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 287.234,
    "s": 22.066,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.08482,
    "h": 318.9
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#785382
secondary
#8FA889
accent
#BF697B
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #785382

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

Preview Lab → · Contrast checker → · Palette generator →

#785382 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva