#783B95#783B95

#783B95 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.1% C 0.150 H 313.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#783B95
RGBrgb(120, 59, 149)
HSLhsl(281, 43%, 41%)
HSVhsv(281, 60%, 58%)
CMYKcmyk(19.5%, 60.4%, 0%, 41.6%)
CIE-LABlab(36.54, 42.13, -38.75)
CIE-LCHlch(36.54, 57.24, 317.39°)
OKLaboklab(47.09% 0.1028 -0.1087)
OKLCHoklch(47.09% 0.15 313.4)
XYZxyz(14.7336, 9.2913, 29.4452)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B95 #58953B
analogous
#4B3B95 #783B95 #953B85
triadic
#783B95 #95783B #3B9578
tetradic
#783B95 #954B3B #58953B #3B8595
square
#783B95 #954B3B #58953B #3B8595
split-complementary
#783B95 #85953B #3B954B
monochromatic
#31183D #552A69 #783B95 #9953BB #B37ECC

Accessibility & contrast

On white

7.35
#783B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#783B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B95
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B95#FFFFFF#000000##FFFFFF
##783B951.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#375793
Tritanopia (blue-blind)
#754B62
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783b95;
/* rgb */ color: rgb(120, 59, 149);
/* oklch */ color: oklch(47.1% 0.150 313.4);
Tailwind
colors: {
  custom: {
    50: '#a274b5',
    500: '#783b95',
    950: '#000000',
  },
}
SCSS
$custom: #783b95;
$custom-light: #a274b5;
$custom-dark: #000000;
JSON
{
  "hex": "#783b95",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 280.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.14956,
    "h": 313.4
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#783B95
secondary
#8BB676
accent
#D3557D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783B95

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

Preview Lab → · Contrast checker → · Palette generator →

#783B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva