#783099#783099

#783099 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.170 H 313.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#783099
RGBrgb(120, 48, 153)
HSLhsl(281, 52%, 39%)
HSVhsv(281, 69%, 60%)
CMYKcmyk(21.6%, 68.6%, 0%, 40%)
CIE-LABlab(34.82, 48.44, -43.94)
CIE-LCHlch(34.82, 65.40, 317.79°)
OKLaboklab(45.93% 0.1163 -0.1238)
OKLCHoklch(45.93% 0.17 313.2)
XYZxyz(14.5514, 8.4073, 30.9871)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783099 #519930
analogous
#443099 #783099 #993086
triadic
#783099 #997830 #309978
tetradic
#783099 #994430 #519930 #308699
square
#783099 #994430 #519930 #308699
split-complementary
#783099 #869930 #309944
monochromatic
#2F133C #53216A #783099 #9B42C4 #B471D2

Accessibility & contrast

On white

7.83
#783099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#783099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783099
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783099#FFFFFF#000000##FFFFFF
##7830991.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#754560
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783099;
/* rgb */ color: rgb(120, 48, 153);
/* oklch */ color: oklch(45.9% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#a26eb8',
    500: '#783099',
    950: '#000000',
  },
}
SCSS
$custom: #783099;
$custom-light: #a26eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#783099",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 281.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.16989,
    "h": 313.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#783099
secondary
#84BA6B
accent
#DC4C79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #783099

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

Preview Lab → · Contrast checker → · Palette generator →

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