#784FDB#784FDB

#784FDB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.203 H 291.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#784FDB
RGBrgb(120, 79, 219)
HSLhsl(258, 66%, 58%)
HSVhsv(258, 64%, 86%)
CMYKcmyk(45.2%, 63.9%, 0%, 14.1%)
CIE-LABlab(45.22, 49.16, -65.92)
CIE-LCHlch(45.22, 82.23, 306.72°)
OKLaboklab(54.89% 0.0754 -0.1885)
OKLCHoklch(54.89% 0.203 291.8)
XYZxyz(23.3243, 14.6987, 68.6123)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FDB #B2DB4F
analogous
#4F6CDB #784FDB #BE4FDB
triadic
#784FDB #DB784F #4FDB78
tetradic
#784FDB #DB4F6C #B2DB4F #4FDBBE
square
#784FDB #DB4F6C #B2DB4F #4FDBBE
split-complementary
#784FDB #DBBE4F #6CDB4F
monochromatic
#401E92 #5628C5 #784FDB #9F82E5 #C6B5F0

Accessibility & contrast

On white

5.33
#784FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#784FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FDB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FDB#FFFFFF#000000##FFFFFF
##784FDB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#5A708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784fdb;
/* rgb */ color: rgb(120, 79, 219);
/* oklch */ color: oklch(54.9% 0.203 291.8);
Tailwind
colors: {
  custom: {
    50: '#a683e7',
    500: '#784fdb',
    950: '#000000',
  },
}
SCSS
$custom: #784fdb;
$custom-light: #a683e7;
$custom-dark: #000000;
JSON
{
  "hex": "#784fdb",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 257.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.20302,
    "h": 291.8
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#784FDB
secondary
#CEDFA7
accent
#E93FB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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