#783AEF#783AEF

#783AEF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.9% C 0.249 H 291.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#783AEF
RGBrgb(120, 58, 239)
HSLhsl(261, 85%, 58%)
HSVhsv(261, 76%, 94%)
CMYKcmyk(49.8%, 75.7%, 0%, 6.3%)
CIE-LABlab(43.14, 64.75, -80.66)
CIE-LCHlch(43.14, 103.43, 308.75°)
OKLaboklab(53.91% 0.0901 -0.2317)
OKLCHoklch(53.91% 0.249 291.3)
XYZxyz(24.8343, 13.2502, 82.8936)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AEF #B1EF3A
analogous
#3A56EF #783AEF #D23AEF
triadic
#783AEF #EF783A #3AEF78
tetradic
#783AEF #EF3A56 #B1EF3A #3AEFD2
square
#783AEF #EF3A56 #B1EF3A #3AEFD2
split-complementary
#783AEF #EFD23A #56EF3A
monochromatic
#400DA1 #5612DA #783AEF #9F73F4 #C6ABF8

Accessibility & contrast

On white

5.75
#783AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#783AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AEF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AEF#FFFFFF#000000##FFFFFF
##783AEF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#4F6D93
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #783aef;
/* rgb */ color: rgb(120, 58, 239);
/* oklch */ color: oklch(53.9% 0.249 291.3);
Tailwind
colors: {
  custom: {
    50: '#aa77f6',
    500: '#783aef',
    950: '#000000',
  },
}
SCSS
$custom: #783aef;
$custom-light: #aa77f6;
$custom-dark: #000000;
JSON
{
  "hex": "#783aef",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 239
  },
  "hsl": {
    "h": 260.552,
    "s": 84.977,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.2486,
    "h": 291.3
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#783AEF
secondary
#CEE69E
accent
#FB2DB4
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110917
muted
#807B85

Preview Lab

Preview with #783AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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