#781895#781895

#781895 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.193 H 316.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#781895
RGBrgb(120, 24, 149)
HSLhsl(286, 72%, 34%)
HSVhsv(286, 84%, 58%)
CMYKcmyk(19.5%, 83.9%, 0%, 41.6%)
CIE-LABlab(31.39, 56.60, -47.03)
CIE-LCHlch(31.39, 73.59, 320.28°)
OKLaboklab(43.41% 0.1395 -0.1327)
OKLCHoklch(43.41% 0.193 316.4)
XYZxyz(13.4963, 6.8168, 29.0328)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781895 #359518
analogous
#3A1895 #781895 #951874
triadic
#781895 #957818 #189578
tetradic
#781895 #953A18 #359518 #187495
square
#781895 #953A18 #359518 #187495
split-complementary
#781895 #749518 #18953A
monochromatic
#23072C #4E1060 #781895 #A220CA #BD46E1

Accessibility & contrast

On white

8.89
#781895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781895
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781895#FFFFFF#000000##FFFFFF
##7818951.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#763758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781895;
/* rgb */ color: rgb(120, 24, 149);
/* oklch */ color: oklch(43.4% 0.193 316.4);
Tailwind
colors: {
  custom: {
    50: '#a363b5',
    500: '#781895',
    950: '#000000',
  },
}
SCSS
$custom: #781895;
$custom-light: #a363b5;
$custom-dark: #000000;
JSON
{
  "hex": "#781895",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 286.08,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.19254,
    "h": 316.4
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#781895
secondary
#63C246
accent
#EF3963
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781895

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

Preview Lab → · Contrast checker → · Palette generator →

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