#785AF4#785AF4

#785AF4 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.219 H 286.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#785AF4
RGBrgb(120, 90, 244)
HSLhsl(252, 88%, 65%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.8%, 63.1%, 0%, 4.3%)
CIE-LABlab(49.30, 50.16, -73.40)
CIE-LCHlch(49.30, 88.90, 304.35°)
OKLaboklab(58.42% 0.062 -0.2105)
OKLCHoklch(58.42% 0.219 286.4)
XYZxyz(27.7262, 17.8357, 87.5521)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AF4 #D6F45A
analogous
#5A89F4 #785AF4 #C55AF4
triadic
#785AF4 #F4785A #5AF478
tetradic
#785AF4 #F45A89 #D6F45A #5AF4C5
square
#785AF4 #F45A89 #D6F45A #5AF4C5
split-complementary
#785AF4 #F4C55A #89F45A
monochromatic
#310DC6 #4921F0 #785AF4 #A793F8 #D6CDFC

Accessibility & contrast

On white

4.60
#785AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#785AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785AF4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AF4#FFFFFF#000000##FFFFFF
##785AF41.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#0071F1
Tritanopia (blue-blind)
#497F9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785af4;
/* rgb */ color: rgb(120, 90, 244);
/* oklch */ color: oklch(58.4% 0.219 286.4);
Tailwind
colors: {
  custom: {
    50: '#a98af9',
    500: '#785af4',
    950: '#000000',
  },
}
SCSS
$custom: #785af4;
$custom-light: #a98af9;
$custom-dark: #000000;
JSON
{
  "hex": "#785af4",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 251.688,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.21945,
    "h": 286.4
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#785AF4
secondary
#E5EFBB
accent
#E401B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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