#785AFD#785AFD

#785AFD is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.230 H 285.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#785AFD
RGBrgb(120, 90, 253)
HSLhsl(251, 98%, 67%)
HSVhsv(251, 64%, 99%)
CMYKcmyk(52.6%, 64.4%, 0%, 0.8%)
CIE-LABlab(49.97, 52.73, -77.31)
CIE-LCHlch(49.97, 93.58, 304.29°)
OKLaboklab(59.12% 0.0611 -0.222)
OKLCHoklch(59.12% 0.23 285.4)
XYZxyz(29.1262, 18.3957, 94.9254)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AFD #DFFD5A
analogous
#5A8EFD #785AFD #CA5AFD
triadic
#785AFD #FD785A #5AFD78
tetradic
#785AFD #FD5A8E #DFFD5A #5AFDCA
square
#785AFD #FD5A8E #DFFD5A #5AFDCA
split-complementary
#785AFD #FDCA5A #8EFD5A
monochromatic
#2A03DA #471EFC #785AFD #A996FE #DBD3FE

Accessibility & contrast

On white

4.49
#785AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#785AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785AFD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AFD#FFFFFF#000000##000000
##785AFD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#4183A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785afd;
/* rgb */ color: rgb(120, 90, 253);
/* oklch */ color: oklch(59.1% 0.230 285.4);
Tailwind
colors: {
  custom: {
    50: '#aa8aff',
    500: '#785afd',
    950: '#000000',
  },
}
SCSS
$custom: #785afd;
$custom-light: #aa8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#785afd",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 251.043,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.23025,
    "h": 285.4
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#785AFD
secondary
#EAF3C0
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785AFD

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

Preview Lab → · Contrast checker → · Palette generator →

#785AFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva