#785CF3#785CF3

#785CF3 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.216 H 286.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#785CF3
RGBrgb(120, 92, 243)
HSLhsl(251, 86%, 66%)
HSVhsv(251, 62%, 95%)
CMYKcmyk(50.6%, 62.1%, 0%, 4.7%)
CIE-LABlab(49.64, 48.76, -72.29)
CIE-LCHlch(49.64, 87.19, 304.00°)
OKLaboklab(58.65% 0.0602 -0.2072)
OKLCHoklch(58.65% 0.216 286.2)
XYZxyz(27.7457, 18.1170, 86.8116)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CF3 #D7F35C
analogous
#5C8BF3 #785CF3 #C45CF3
triadic
#785CF3 #F3785C #5CF378
tetradic
#785CF3 #F35C8B #D7F35C #5CF3C4
square
#785CF3 #F35C8B #D7F35C #5CF3C4
split-complementary
#785CF3 #F3C45C #8BF35C
monochromatic
#310FC6 #4923EF #785CF3 #A795F7 #D6CEFB

Accessibility & contrast

On white

4.54
#785CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#785CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785CF3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CF3#FFFFFF#000000##000000
##785CF31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#49809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #785cf3;
/* rgb */ color: rgb(120, 92, 243);
/* oklch */ color: oklch(58.6% 0.216 286.2);
Tailwind
colors: {
  custom: {
    50: '#a88bf8',
    500: '#785cf3',
    950: '#000000',
  },
}
SCSS
$custom: #785cf3;
$custom-light: #a88bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#785cf3",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 251.126,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.21578,
    "h": 286.2
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#785CF3
secondary
#E5EFBC
accent
#E303B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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