#783BCF#783BCF

#783BCF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.213 H 297.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#783BCF
RGBrgb(120, 59, 207)
HSLhsl(265, 61%, 52%)
HSVhsv(265, 71%, 81%)
CMYKcmyk(42%, 71.5%, 0%, 18.8%)
CIE-LABlab(40.61, 56.16, -66.52)
CIE-LCHlch(40.61, 87.06, 310.17°)
OKLaboklab(51.31% 0.0969 -0.1902)
OKLCHoklch(51.31% 0.213 297)
XYZxyz(20.5692, 11.6256, 60.1796)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BCF #92CF3B
analogous
#3B48CF #783BCF #C23BCF
triadic
#783BCF #CF783B #3BCF78
tetradic
#783BCF #CF3B48 #92CF3B #3BCFC2
square
#783BCF #CF3B48 #92CF3B #3BCFC2
split-complementary
#783BCF #CFC23B #48CF3B
monochromatic
#401C73 #5B28A5 #783BCF #9A6CDB #BC9DE7

Accessibility & contrast

On white

6.32
#783BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#783BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BCF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BCF#FFFFFF#000000##FFFFFF
##783BCF1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#626081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783bcf;
/* rgb */ color: rgb(120, 59, 207);
/* oklch */ color: oklch(51.3% 0.213 297.0);
Tailwind
colors: {
  custom: {
    50: '#a676df',
    500: '#783bcf',
    950: '#000000',
  },
}
SCSS
$custom: #783bcf;
$custom-light: #a676df;
$custom-dark: #000000;
JSON
{
  "hex": "#783bcf",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 264.73,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.21347,
    "h": 297
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#783BCF
secondary
#B9D393
accent
#E444A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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