#784BDB#784BDB

#784BDB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.208 H 292.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#784BDB
RGBrgb(120, 75, 219)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 66%, 86%)
CMYKcmyk(45.2%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.43, 51.30, -67.20)
CIE-LCHlch(44.43, 84.54, 307.36°)
OKLaboklab(54.32% 0.0794 -0.1923)
OKLCHoklch(54.32% 0.208 292.4)
XYZxyz(23.0445, 14.1390, 68.5190)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BDB #AEDB4B
analogous
#4B66DB #784BDB #C04BDB
triadic
#784BDB #DB784B #4BDB78
tetradic
#784BDB #DB4B66 #AEDB4B #4BDBC0
square
#784BDB #DB4B66 #AEDB4B #4BDBC0
split-complementary
#784BDB #DBC04B #66DB4B
monochromatic
#401D8F #5727C2 #784BDB #9E7EE5 #C4B1EF

Accessibility & contrast

On white

5.49
#784BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#784BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BDB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BDB#FFFFFF#000000##FFFFFF
##784BDB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#5B6E8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784bdb;
/* rgb */ color: rgb(120, 75, 219);
/* oklch */ color: oklch(54.3% 0.208 292.4);
Tailwind
colors: {
  custom: {
    50: '#a680e7',
    500: '#784bdb',
    950: '#000000',
  },
}
SCSS
$custom: #784bdb;
$custom-light: #a680e7;
$custom-dark: #000000;
JSON
{
  "hex": "#784bdb",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 258.75,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.20802,
    "h": 292.4
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#784BDB
secondary
#CCDEA4
accent
#EA3EB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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