#783ECD#783ECD

#783ECD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.208 H 297.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#783ECD
RGBrgb(120, 62, 205)
HSLhsl(264, 59%, 52%)
HSVhsv(264, 70%, 80%)
CMYKcmyk(41.5%, 69.8%, 0%, 19.6%)
CIE-LABlab(40.97, 54.22, -64.79)
CIE-LCHlch(40.97, 84.48, 309.93°)
OKLaboklab(51.51% 0.0944 -0.1851)
OKLCHoklch(51.51% 0.208 297)
XYZxyz(20.4849, 11.8457, 58.9529)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ECD #93CD3E
analogous
#3E4BCD #783ECD #C03ECD
triadic
#783ECD #CD783E #3ECD78
tetradic
#783ECD #CD3E4B #93CD3E #3ECDC0
square
#783ECD #CD3E4B #93CD3E #3ECDC0
split-complementary
#783ECD #CDC03E #4BCD3E
monochromatic
#401E73 #5B2AA3 #783ECD #9A6FDA #BC9FE6

Accessibility & contrast

On white

6.23
#783ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#783ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ECD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ECD#FFFFFF#000000##FFFFFF
##783ECD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#626181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783ecd;
/* rgb */ color: rgb(120, 62, 205);
/* oklch */ color: oklch(51.5% 0.208 297.0);
Tailwind
colors: {
  custom: {
    50: '#a678dd',
    500: '#783ecd',
    950: '#000000',
  },
}
SCSS
$custom: #783ecd;
$custom-light: #a678dd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ecd",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 264.336,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.20783,
    "h": 297
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#783ECD
secondary
#B9D394
accent
#E246A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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