#785CF0#785CF0

#785CF0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.212 H 286.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#785CF0
RGBrgb(120, 92, 240)
HSLhsl(251, 83%, 65%)
HSVhsv(251, 62%, 94%)
CMYKcmyk(50%, 61.7%, 0%, 5.9%)
CIE-LABlab(49.42, 47.90, -70.96)
CIE-LCHlch(49.42, 85.61, 304.02°)
OKLaboklab(58.42% 0.0604 -0.2033)
OKLCHoklch(58.42% 0.212 286.5)
XYZxyz(27.2964, 17.9373, 84.4451)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CF0 #D4F05C
analogous
#5C8AF0 #785CF0 #C25CF0
triadic
#785CF0 #F0785C #5CF078
tetradic
#785CF0 #F05C8A #D4F05C #5CF0C2
square
#785CF0 #F05C8A #D4F05C #5CF0C2
split-complementary
#785CF0 #F0C25C #8AF05C
monochromatic
#3312C0 #4A24EB #785CF0 #A694F5 #D5CCFA

Accessibility & contrast

On white

4.58
#785CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#785CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785CF0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CF0#FFFFFF#000000##000000
##785CF01.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#4C7F9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785cf0;
/* rgb */ color: rgb(120, 92, 240);
/* oklch */ color: oklch(58.4% 0.212 286.5);
Tailwind
colors: {
  custom: {
    50: '#a88bf6',
    500: '#785cf0',
    950: '#000000',
  },
}
SCSS
$custom: #785cf0;
$custom-light: #a88bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#785cf0",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 251.351,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.21211,
    "h": 286.5
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#785CF0
secondary
#E3EDBB
accent
#E006B6
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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