#783DCB#783DCB

#783DCB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.207 H 297.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#783DCB
RGBrgb(120, 61, 203)
HSLhsl(265, 58%, 52%)
HSVhsv(265, 70%, 80%)
CMYKcmyk(40.9%, 70%, 0%, 20.4%)
CIE-LABlab(40.64, 54.20, -64.16)
CIE-LCHlch(40.64, 83.99, 310.19°)
OKLaboklab(51.23% 0.0957 -0.1833)
OKLCHoklch(51.23% 0.207 297.6)
XYZxyz(20.1912, 11.6420, 57.6717)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DCB #90CB3D
analogous
#3D49CB #783DCB #BF3DCB
triadic
#783DCB #CB783D #3DCB78
tetradic
#783DCB #CB3D49 #90CB3D #3DCBBF
square
#783DCB #CB3D49 #90CB3D #3DCBBF
split-complementary
#783DCB #CBBF3D #49CB3D
monochromatic
#401E70 #5C2BA0 #783DCB #9A6DD8 #BB9EE5

Accessibility & contrast

On white

6.31
#783DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783DCB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DCB#FFFFFF#000000##FFFFFF
##783DCB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#636080
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783dcb;
/* rgb */ color: rgb(120, 61, 203);
/* oklch */ color: oklch(51.2% 0.207 297.6);
Tailwind
colors: {
  custom: {
    50: '#a677dc',
    500: '#783dcb',
    950: '#000000',
  },
}
SCSS
$custom: #783dcb;
$custom-light: #a677dc;
$custom-dark: #000000;
JSON
{
  "hex": "#783dcb",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 264.93,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.2068,
    "h": 297.6
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#783DCB
secondary
#B7D193
accent
#E147A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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