#783BBE#783BBE

#783BBE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.195 H 300.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#783BBE
RGBrgb(120, 59, 190)
HSLhsl(268, 53%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(36.8%, 68.9%, 0%, 25.5%)
CIE-LABlab(39.31, 51.90, -58.75)
CIE-LCHlch(39.31, 78.40, 311.46°)
OKLaboklab(49.97% 0.0999 -0.1674)
OKLCHoklch(49.97% 0.195 300.8)
XYZxyz(18.6017, 10.8386, 49.8173)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BBE #81BE3B
analogous
#3B40BE #783BBE #BA3BBE
triadic
#783BBE #BE783B #3BBE78
tetradic
#783BBE #BE3B40 #81BE3B #3BBEBA
square
#783BBE #BE3B40 #81BE3B #3BBEBA
split-complementary
#783BBE #BEBA3B #40BE3B
monochromatic
#3D1E61 #5B2C8F #783BBE #9767D0 #B795DE

Accessibility & contrast

On white

6.63
#783BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#783BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BBE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BBE#FFFFFF#000000##FFFFFF
##783BBE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#695A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783bbe;
/* rgb */ color: rgb(120, 59, 190);
/* oklch */ color: oklch(50.0% 0.195 300.8);
Tailwind
colors: {
  custom: {
    50: '#a475d2',
    500: '#783bbe',
    950: '#000000',
  },
}
SCSS
$custom: #783bbe;
$custom-light: #a475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#783bbe",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 267.939,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.19493,
    "h": 300.8
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#783BBE
secondary
#ADCA8B
accent
#DC4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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