#783BCB#783BCB

#783BCB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.209 H 297.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#783BCB
RGBrgb(120, 59, 203)
HSLhsl(265, 58%, 51%)
HSVhsv(265, 71%, 80%)
CMYKcmyk(40.9%, 70.9%, 0%, 20.4%)
CIE-LABlab(40.30, 55.15, -64.72)
CIE-LCHlch(40.30, 85.03, 310.44°)
OKLaboklab(50.99% 0.0977 -0.1849)
OKLCHoklch(50.99% 0.209 297.8)
XYZxyz(20.0864, 11.4325, 57.6367)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BCB #8ECB3B
analogous
#3B46CB #783BCB #C03BCB
triadic
#783BCB #CB783B #3BCB78
tetradic
#783BCB #CB3B46 #8ECB3B #3BCBC0
square
#783BCB #CB3B46 #8ECB3B #3BCBC0
split-complementary
#783BCB #CBC03B #46CB3B
monochromatic
#401D6E #5B2A9F #783BCB #996BD8 #BB9CE5

Accessibility & contrast

On white

6.39
#783BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#783BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BCB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BCB#FFFFFF#000000##FFFFFF
##783BCB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#635F7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783bcb;
/* rgb */ color: rgb(120, 59, 203);
/* oklch */ color: oklch(51.0% 0.209 297.8);
Tailwind
colors: {
  custom: {
    50: '#a676dc',
    500: '#783bcb',
    950: '#000000',
  },
}
SCSS
$custom: #783bcb;
$custom-light: #a676dc;
$custom-dark: #000000;
JSON
{
  "hex": "#783bcb",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 265.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.20914,
    "h": 297.8
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#783BCB
secondary
#B6D191
accent
#E147A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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