#782695#782695

#782695 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.179 H 315.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#782695
RGBrgb(120, 38, 149)
HSLhsl(284, 59%, 37%)
HSVhsv(284, 74%, 58%)
CMYKcmyk(19.5%, 74.5%, 0%, 41.6%)
CIE-LABlab(33.03, 51.87, -44.38)
CIE-LCHlch(33.03, 68.26, 319.45°)
OKLaboklab(44.56% 0.1275 -0.125)
OKLCHoklch(44.56% 0.179 315.6)
XYZxyz(13.8628, 7.5497, 29.1550)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782695 #439526
analogous
#412695 #782695 #95267B
triadic
#782695 #957826 #269578
tetradic
#782695 #954126 #439526 #267B95
square
#782695 #954126 #439526 #267B95
split-complementary
#782695 #7B9526 #269541
monochromatic
#290D33 #511A64 #782695 #9F32C6 #B75FD6

Accessibility & contrast

On white

8.37
#782695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#782695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782695
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782695#FFFFFF#000000##FFFFFF
##7826951.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#763E5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782695;
/* rgb */ color: rgb(120, 38, 149);
/* oklch */ color: oklch(44.6% 0.179 315.6);
Tailwind
colors: {
  custom: {
    50: '#a369b5',
    500: '#782695',
    950: '#000000',
  },
}
SCSS
$custom: #782695;
$custom-light: #a369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782695",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 284.324,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.17858,
    "h": 315.6
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#782695
secondary
#74BB5B
accent
#E3456E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782695

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

Preview Lab → · Contrast checker → · Palette generator →

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