#785AF3#785AF3

#785AF3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.218 H 286.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#785AF3
RGBrgb(120, 90, 243)
HSLhsl(252, 86%, 65%)
HSVhsv(252, 63%, 95%)
CMYKcmyk(50.6%, 63%, 0%, 4.7%)
CIE-LABlab(49.22, 49.87, -72.96)
CIE-LCHlch(49.22, 88.38, 304.35°)
OKLaboklab(58.35% 0.0621 -0.2092)
OKLCHoklch(58.35% 0.218 286.5)
XYZxyz(27.5748, 17.7751, 86.7546)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AF3 #D5F35A
analogous
#5A88F3 #785AF3 #C55AF3
triadic
#785AF3 #F3785A #5AF378
tetradic
#785AF3 #F35A88 #D5F35A #5AF3C5
square
#785AF3 #F35A88 #D5F35A #5AF3C5
split-complementary
#785AF3 #F3C55A #88F35A
monochromatic
#320EC4 #4921EF #785AF3 #A793F7 #D5CCFB

Accessibility & contrast

On white

4.61
#785AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#785AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785AF3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AF3#FFFFFF#000000##FFFFFF
##785AF31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4A7F9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785af3;
/* rgb */ color: rgb(120, 90, 243);
/* oklch */ color: oklch(58.3% 0.218 286.5);
Tailwind
colors: {
  custom: {
    50: '#a88af8',
    500: '#785af3',
    950: '#000000',
  },
}
SCSS
$custom: #785af3;
$custom-light: #a88af8;
$custom-dark: #000000;
JSON
{
  "hex": "#785af3",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 251.765,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.21824,
    "h": 286.5
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#785AF3
secondary
#E4EEBB
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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