#783199#783199

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

Color values

HEX#783199
RGBrgb(120, 49, 153)
HSLhsl(281, 51%, 40%)
HSVhsv(281, 68%, 60%)
CMYKcmyk(21.6%, 68%, 0%, 40%)
CIE-LABlab(34.98, 47.98, -43.67)
CIE-LCHlch(34.98, 64.88, 317.69°)
OKLaboklab(46.05% 0.1152 -0.123)
OKLCHoklch(46.05% 0.169 313.1)
XYZxyz(14.5928, 8.4900, 31.0008)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783199 #529931
analogous
#443199 #783199 #993186
triadic
#783199 #997831 #319978
tetradic
#783199 #994431 #529931 #318699
square
#783199 #994431 #529931 #318699
split-complementary
#783199 #869931 #319944
monochromatic
#2F133C #54226B #783199 #9B44C3 #B472D2

Accessibility & contrast

On white

7.78
#783199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#783199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783199
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783199#FFFFFF#000000##FFFFFF
##7831991.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#2A5497
Tritanopia (blue-blind)
#754661
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783199;
/* rgb */ color: rgb(120, 49, 153);
/* oklch */ color: oklch(46.0% 0.169 313.1);
Tailwind
colors: {
  custom: {
    50: '#a26fb8',
    500: '#783199',
    950: '#000000',
  },
}
SCSS
$custom: #783199;
$custom-light: #a26fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#783199",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 280.962,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.16852,
    "h": 313.1
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#783199
secondary
#85BA6C
accent
#DB4D7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783199

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

Preview Lab → · Contrast checker → · Palette generator →

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