#783395#783395

#783395 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.162 H 314.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#783395
RGBrgb(120, 51, 149)
HSLhsl(282, 49%, 39%)
HSVhsv(282, 66%, 58%)
CMYKcmyk(19.5%, 65.8%, 0%, 41.6%)
CIE-LABlab(35.07, 46.15, -41.11)
CIE-LCHlch(35.07, 61.80, 318.31°)
OKLaboklab(46.02% 0.113 -0.1155)
OKLCHoklch(46.02% 0.162 314.4)
XYZxyz(14.3535, 8.5311, 29.3185)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783395 #509533
analogous
#473395 #783395 #953381
triadic
#783395 #957833 #339578
tetradic
#783395 #954733 #509533 #338195
square
#783395 #954733 #509533 #338195
split-complementary
#783395 #819533 #339547
monochromatic
#2F143A #532367 #783395 #9B46C0 #B473CF

Accessibility & contrast

On white

7.76
#783395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#783395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783395
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783395#FFFFFF#000000##FFFFFF
##7833951.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064F98
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#76465F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783395;
/* rgb */ color: rgb(120, 51, 149);
/* oklch */ color: oklch(46.0% 0.162 314.4);
Tailwind
colors: {
  custom: {
    50: '#a270b5',
    500: '#783395',
    950: '#000000',
  },
}
SCSS
$custom: #783395;
$custom-light: #a270b5;
$custom-dark: #000000;
JSON
{
  "hex": "#783395",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 282.245,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.16159,
    "h": 314.4
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#783395
secondary
#83B76C
accent
#D94F78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783395

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

Preview Lab → · Contrast checker → · Palette generator →

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