#784DDD#784DDD

#784DDD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.208 H 291.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#784DDD
RGBrgb(120, 77, 221)
HSLhsl(258, 68%, 58%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.7%, 65.2%, 0%, 13.3%)
CIE-LABlab(44.97, 50.78, -67.46)
CIE-LCHlch(44.97, 84.44, 306.97°)
OKLaboklab(54.76% 0.0772 -0.193)
OKLCHoklch(54.76% 0.208 291.8)
XYZxyz(23.4471, 14.5205, 69.9599)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DDD #B2DD4D
analogous
#4D6ADD #784DDD #C04DDD
triadic
#784DDD #DD784D #4DDD78
tetradic
#784DDD #DD4D6A #B2DD4D #4DDDC0
square
#784DDD #DD4D6A #B2DD4D #4DDDC0
split-complementary
#784DDD #DDC04D #6ADD4D
monochromatic
#401C93 #5626C7 #784DDD #9F80E7 #C6B4F1

Accessibility & contrast

On white

5.38
#784DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#784DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DDD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DDD#FFFFFF#000000##FFFFFF
##784DDD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#59708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ddd;
/* rgb */ color: rgb(120, 77, 221);
/* oklch */ color: oklch(54.8% 0.208 291.8);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#784ddd',
    950: '#000000',
  },
}
SCSS
$custom: #784ddd;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ddd",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 257.917,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.2079,
    "h": 291.8
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#784DDD
secondary
#CEDFA6
accent
#EB3DB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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