#783ECF#783ECF

#783ECF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.210 H 296.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#783ECF
RGBrgb(120, 62, 207)
HSLhsl(264, 60%, 53%)
HSVhsv(264, 70%, 81%)
CMYKcmyk(42%, 70%, 0%, 18.8%)
CIE-LABlab(41.13, 54.73, -65.69)
CIE-LCHlch(41.13, 85.50, 309.80°)
OKLaboklab(51.67% 0.0941 -0.1878)
OKLCHoklch(51.67% 0.21 296.6)
XYZxyz(20.7279, 11.9429, 60.2325)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ECF #95CF3E
analogous
#3E4CCF #783ECF #C03ECF
triadic
#783ECF #CF783E #3ECF78
tetradic
#783ECF #CF3E4C #95CF3E #3ECFC0
square
#783ECF #CF3E4C #95CF3E #3ECFC0
split-complementary
#783ECF #CFC03E #4CCF3E
monochromatic
#401D75 #5B29A6 #783ECF #9A6FDB #BDA0E7

Accessibility & contrast

On white

6.20
#783ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#783ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ECF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ECF#FFFFFF#000000##FFFFFF
##783ECF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#616282
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783ecf;
/* rgb */ color: rgb(120, 62, 207);
/* oklch */ color: oklch(51.7% 0.210 296.6);
Tailwind
colors: {
  custom: {
    50: '#a678df',
    500: '#783ecf',
    950: '#000000',
  },
}
SCSS
$custom: #783ecf;
$custom-light: #a678df;
$custom-dark: #000000;
JSON
{
  "hex": "#783ecf",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 264,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.21003,
    "h": 296.6
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#783ECF
secondary
#BBD495
accent
#E344A4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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