#783FB2#783FB2

#783FB2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.176 H 303.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#783FB2
RGBrgb(120, 63, 178)
HSLhsl(270, 48%, 47%)
HSVhsv(270, 65%, 70%)
CMYKcmyk(32.6%, 64.6%, 0%, 30.2%)
CIE-LABlab(39.18, 46.92, -51.90)
CIE-LCHlch(39.18, 69.97, 312.12°)
OKLaboklab(49.6% 0.0968 -0.1473)
OKLCHoklch(49.6% 0.176 303.3)
XYZxyz(17.5573, 10.7625, 43.2632)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB2 #79B23F
analogous
#3F40B2 #783FB2 #B23FB2
triadic
#783FB2 #B2783F #3FB278
tetradic
#783FB2 #B23F40 #79B23F #3FB2B2
square
#783FB2 #B23F40 #79B23F #3FB2B2
split-complementary
#783FB2 #B2B23F #40B23F
monochromatic
#3B1F58 #5A2F85 #783FB2 #9766C9 #B593D9

Accessibility & contrast

On white

6.66
#783FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#783FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB2#FFFFFF#000000##FFFFFF
##783FB21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1A5CAF
Tritanopia (blue-blind)
#6D5873
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783fb2;
/* rgb */ color: rgb(120, 63, 178);
/* oklch */ color: oklch(49.6% 0.176 303.3);
Tailwind
colors: {
  custom: {
    50: '#a377ca',
    500: '#783fb2',
    950: '#000000',
  },
}
SCSS
$custom: #783fb2;
$custom-light: #a377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb2",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 269.739,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.17624,
    "h": 303.3
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#783FB2
secondary
#A7C489
accent
#D75094
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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