#783299#783299

#783299 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.167 H 313.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#783299
RGBrgb(120, 50, 153)
HSLhsl(281, 51%, 40%)
HSVhsv(281, 67%, 60%)
CMYKcmyk(21.6%, 67.3%, 0%, 40%)
CIE-LABlab(35.15, 47.51, -43.40)
CIE-LCHlch(35.15, 64.35, 317.59°)
OKLaboklab(46.17% 0.114 -0.1222)
OKLCHoklch(46.17% 0.167 313)
XYZxyz(14.6351, 8.5746, 31.0149)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783299 #539932
analogous
#453299 #783299 #993286
triadic
#783299 #997832 #329978
tetradic
#783299 #994532 #539932 #328699
square
#783299 #994532 #539932 #328699
split-complementary
#783299 #869932 #329945
monochromatic
#30143D #54236B #783299 #9B46C2 #B474D2

Accessibility & contrast

On white

7.74
#783299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783299
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783299#FFFFFF#000000##FFFFFF
##7832991.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783299;
/* rgb */ color: rgb(120, 50, 153);
/* oklch */ color: oklch(46.2% 0.167 313.0);
Tailwind
colors: {
  custom: {
    50: '#a26fb8',
    500: '#783299',
    950: '#000000',
  },
}
SCSS
$custom: #783299;
$custom-light: #a26fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#783299",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 280.777,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46167,
    "c": 0.16714,
    "h": 313
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#783299
secondary
#86BA6D
accent
#DA4E7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783299

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

Preview Lab → · Contrast checker → · Palette generator →

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