#784DDB#784DDB

#784DDB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.206 H 292.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#784DDB
RGBrgb(120, 77, 219)
HSLhsl(258, 66%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45.2%, 64.8%, 0%, 14.1%)
CIE-LABlab(44.82, 50.24, -66.56)
CIE-LCHlch(44.82, 83.39, 307.04°)
OKLaboklab(54.6% 0.0774 -0.1904)
OKLCHoklch(54.6% 0.206 292.1)
XYZxyz(23.1822, 14.4145, 68.5649)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DDB #B0DB4D
analogous
#4D69DB #784DDB #BF4DDB
triadic
#784DDB #DB784D #4DDB78
tetradic
#784DDB #DB4D69 #B0DB4D #4DDBBF
square
#784DDB #DB4D69 #B0DB4D #4DDBBF
split-complementary
#784DDB #DBBF4D #69DB4D
monochromatic
#401D90 #5727C3 #784DDB #9F80E5 #C5B3F0

Accessibility & contrast

On white

5.41
#784DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#784DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DDB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DDB#FFFFFF#000000##FFFFFF
##784DDB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#5B6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ddb;
/* rgb */ color: rgb(120, 77, 219);
/* oklch */ color: oklch(54.6% 0.206 292.1);
Tailwind
colors: {
  custom: {
    50: '#a681e7',
    500: '#784ddb',
    950: '#000000',
  },
}
SCSS
$custom: #784ddb;
$custom-light: #a681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#784ddb",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 258.169,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.20553,
    "h": 292.1
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#784DDB
secondary
#CDDEA6
accent
#E93FB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DDB

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

Preview Lab → · Contrast checker → · Palette generator →

#784DDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva