#785FF0#785FF0

#785FF0 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.208 H 286.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#785FF0
RGBrgb(120, 95, 240)
HSLhsl(250, 83%, 66%)
HSVhsv(250, 60%, 94%)
CMYKcmyk(50%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.06, 46.21, -69.92)
CIE-LCHlch(50.06, 83.82, 303.46°)
OKLaboklab(58.89% 0.0574 -0.2003)
OKLCHoklch(58.89% 0.208 286)
XYZxyz(27.5615, 18.4674, 84.5335)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FF0 #D7F05F
analogous
#5F8EF0 #785FF0 #C05FF0
triadic
#785FF0 #F0785F #5FF078
tetradic
#785FF0 #F05F8E #D7F05F #5FF0C0
square
#785FF0 #F05F8E #D7F05F #5FF0C0
split-complementary
#785FF0 #F0C05F #8EF05F
monochromatic
#3112C2 #4927EB #785FF0 #A797F5 #D6CFFA

Accessibility & contrast

On white

4.47
#785FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#785FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FF0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FF0#FFFFFF#000000##000000
##785FF01.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#4B819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785ff0;
/* rgb */ color: rgb(120, 95, 240);
/* oklch */ color: oklch(58.9% 0.208 286.0);
Tailwind
colors: {
  custom: {
    50: '#a88df6',
    500: '#785ff0',
    950: '#000000',
  },
}
SCSS
$custom: #785ff0;
$custom-light: #a88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#785ff0",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 250.345,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.20834,
    "h": 286
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#785FF0
secondary
#E5EEBD
accent
#DF06BA
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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