#782175#782175

#782175 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.156 H 329.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#782175
RGBrgb(120, 33, 117)
HSLhsl(302, 57%, 30%)
HSVhsv(302, 73%, 47%)
CMYKcmyk(0%, 72.5%, 2.5%, 52.9%)
CIE-LABlab(30.32, 47.66, -28.78)
CIE-LCHlch(30.32, 55.67, 328.88°)
OKLaboklab(41.98% 0.1343 -0.0795)
OKLCHoklch(41.98% 0.156 329.4)
XYZxyz(11.5004, 6.3660, 17.4492)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782175 #217824
analogous
#502178 #782175 #782149
triadic
#782175 #757821 #217578
tetradic
#782175 #785021 #217824 #214978
square
#782175 #785021 #217824 #214978
split-complementary
#782175 #497821 #217850
monochromatic
#180717 #481446 #782175 #A82EA4 #CC47C8

Accessibility & contrast

On white

9.24
#782175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#782175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782175
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782175#FFFFFF#000000##FFFFFF
##7821751.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164077
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#7C2C48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #782175;
/* rgb */ color: rgb(120, 33, 117);
/* oklch */ color: oklch(42.0% 0.156 329.4);
Tailwind
colors: {
  custom: {
    50: '#a2659d',
    500: '#782175',
    950: '#000000',
  },
}
SCSS
$custom: #782175;
$custom-light: #a2659d;
$custom-dark: #000000;
JSON
{
  "hex": "#782175",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 302.069,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.15606,
    "h": 329.4
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#782175
secondary
#4AAB4D
accent
#E04D48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782175

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

Preview Lab → · Contrast checker → · Palette generator →

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