#783285#783285

#783285 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.147 H 321.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#783285
RGBrgb(120, 50, 133)
HSLhsl(291, 45%, 36%)
HSVhsv(291, 62%, 52%)
CMYKcmyk(9.8%, 62.4%, 0%, 47.8%)
CIE-LABlab(33.92, 43.24, -33.10)
CIE-LCHlch(33.92, 54.46, 322.56°)
OKLaboklab(44.88% 0.1142 -0.0921)
OKLCHoklch(44.88% 0.147 321.1)
XYZxyz(13.1195, 7.9684, 23.0327)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783285 #3F8532
analogous
#4E3285 #783285 #853268
triadic
#783285 #857832 #328578
tetradic
#783285 #854E32 #3F8532 #326885
square
#783285 #854E32 #3F8532 #326885
split-complementary
#783285 #688532 #32854E
monochromatic
#28112C #502159 #783285 #A043B1 #B96AC7

Accessibility & contrast

On white

8.10
#783285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#783285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783285
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783285#FFFFFF#000000##FFFFFF
##7832851.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#793F57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #783285;
/* rgb */ color: rgb(120, 50, 133);
/* oklch */ color: oklch(44.9% 0.147 321.1);
Tailwind
colors: {
  custom: {
    50: '#a16ea9',
    500: '#783285',
    950: '#000000',
  },
}
SCSS
$custom: #783285;
$custom-light: #a16ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#783285",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 290.602,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.14675,
    "h": 321.1
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#783285
secondary
#70AF64
accent
#D55367
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #783285

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

Preview Lab → · Contrast checker → · Palette generator →

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