#782875#782875

#782875 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 329.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#782875
RGBrgb(120, 40, 117)
HSLhsl(302, 50%, 31%)
HSVhsv(302, 67%, 47%)
CMYKcmyk(0%, 66.7%, 2.5%, 52.9%)
CIE-LABlab(31.34, 44.79, -27.17)
CIE-LCHlch(31.34, 52.39, 328.76°)
OKLaboklab(42.71% 0.1261 -0.0749)
OKLCHoklch(42.71% 0.147 329.3)
XYZxyz(11.7153, 6.7958, 17.5209)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782875 #28782B
analogous
#532878 #782875 #78284D
triadic
#782875 #757828 #287578
tetradic
#782875 #785328 #28782B #284D78
square
#782875 #785328 #28782B #284D78
split-complementary
#782875 #4D7828 #287853
monochromatic
#1C091B #4A1948 #782875 #A637A2 #C654C2

Accessibility & contrast

On white

8.90
#782875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#782875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782875
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782875#FFFFFF#000000##FFFFFF
##7828751.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204377
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#7C314B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782875;
/* rgb */ color: rgb(120, 40, 117);
/* oklch */ color: oklch(42.7% 0.147 329.3);
Tailwind
colors: {
  custom: {
    50: '#a2699d',
    500: '#782875',
    950: '#000000',
  },
}
SCSS
$custom: #782875;
$custom-light: #a2699d;
$custom-dark: #000000;
JSON
{
  "hex": "#782875",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 302.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.14668,
    "h": 329.3
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#782875
secondary
#52AA55
accent
#DA544E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782875

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

Preview Lab → · Contrast checker → · Palette generator →

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