#783BFA#783BFA

#783BFA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 55.0% C 0.259 H 289.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#783BFA
RGBrgb(120, 59, 250)
HSLhsl(259, 95%, 61%)
HSVhsv(259, 76%, 98%)
CMYKcmyk(52%, 76.4%, 0%, 2%)
CIE-LABlab(44.26, 67.13, -84.99)
CIE-LCHlch(44.26, 108.30, 308.30°)
OKLaboklab(54.99% 0.0864 -0.2444)
OKLCHoklch(54.99% 0.259 289.5)
XYZxyz(26.5600, 14.0219, 91.7310)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BFA #BDFA3B
analogous
#3B5DFA #783BFA #D73BFA
triadic
#783BFA #FA783B #3BFA78
tetradic
#783BFA #FA3B5D #BDFA3B #3BFAD7
square
#783BFA #FA3B5D #BDFA3B #3BFAD7
split-complementary
#783BFA #FAD73B #5DFA3B
monochromatic
#3D05B6 #5106F2 #783BFA #A177FC #CAB2FD

Accessibility & contrast

On white

5.52
#783BFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#783BFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BFA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BFA#FFFFFF#000000##FFFFFF
##783BFA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0064F7
Tritanopia (blue-blind)
#46729A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #783bfa;
/* rgb */ color: rgb(120, 59, 250);
/* oklch */ color: oklch(55.0% 0.259 289.5);
Tailwind
colors: {
  custom: {
    50: '#ab78fd',
    500: '#783bfa',
    950: '#000000',
  },
}
SCSS
$custom: #783bfa;
$custom-light: #ab78fd;
$custom-dark: #000000;
JSON
{
  "hex": "#783bfa",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 250
  },
  "hsl": {
    "h": 259.162,
    "s": 95.025,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.2592,
    "h": 289.5
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#783BFA
secondary
#D6EDA4
accent
#E6009C
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86

Preview Lab

Preview with #783BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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