#783CA2#783CA2

#783CA2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.162 H 308.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#783CA2
RGBrgb(120, 60, 162)
HSLhsl(275, 46%, 44%)
HSVhsv(275, 63%, 64%)
CMYKcmyk(25.9%, 63%, 0%, 36.5%)
CIE-LABlab(37.54, 44.61, -45.00)
CIE-LCHlch(37.54, 63.36, 314.75°)
OKLaboklab(48.08% 0.1014 -0.127)
OKLCHoklch(48.08% 0.162 308.6)
XYZxyz(15.8819, 9.8337, 35.2368)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA2 #66A23C
analogous
#453CA2 #783CA2 #A23C99
triadic
#783CA2 #A2783C #3CA278
tetradic
#783CA2 #A2453C #66A23C #3C99A2
square
#783CA2 #A2453C #66A23C #3C99A2
split-complementary
#783CA2 #99A23C #3CA245
monochromatic
#361B49 #572B75 #783CA2 #9759C2 #B386D2

Accessibility & contrast

On white

7.08
#783CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#783CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783CA2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA2#FFFFFF#000000##FFFFFF
##783CA21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#725069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ca2;
/* rgb */ color: rgb(120, 60, 162);
/* oklch */ color: oklch(48.1% 0.162 308.6);
Tailwind
colors: {
  custom: {
    50: '#a275be',
    500: '#783ca2',
    950: '#000000',
  },
}
SCSS
$custom: #783ca2;
$custom-light: #a275be;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca2",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 275.294,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48081,
    "c": 0.16248,
    "h": 308.6
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#783CA2
secondary
#97BC7D
accent
#D65288
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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