#785FF3#785FF3

#785FF3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.212 H 285.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#785FF3
RGBrgb(120, 95, 243)
HSLhsl(250, 86%, 66%)
HSVhsv(250, 61%, 95%)
CMYKcmyk(50.6%, 60.9%, 0%, 4.7%)
CIE-LABlab(50.27, 47.08, -71.26)
CIE-LCHlch(50.27, 85.40, 303.45°)
OKLaboklab(59.11% 0.0572 -0.2042)
OKLCHoklch(59.11% 0.212 285.7)
XYZxyz(28.0108, 18.6471, 86.9000)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FF3 #DAF35F
analogous
#5F90F3 #785FF3 #C25FF3
triadic
#785FF3 #F3785F #5FF378
tetradic
#785FF3 #F35F90 #DAF35F #5FF3C2
square
#785FF3 #F35F90 #DAF35F #5FF3C2
split-complementary
#785FF3 #F3C25F #90F35F
monochromatic
#2E0FC9 #4826EF #785FF3 #A898F7 #D8D1FC

Accessibility & contrast

On white

4.44
#785FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#785FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FF3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FF3#FFFFFF#000000##000000
##785FF31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4982A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #785ff3;
/* rgb */ color: rgb(120, 95, 243);
/* oklch */ color: oklch(59.1% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#a88df8',
    500: '#785ff3',
    950: '#000000',
  },
}
SCSS
$custom: #785ff3;
$custom-light: #a88df8;
$custom-dark: #000000;
JSON
{
  "hex": "#785ff3",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 250.135,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.21205,
    "h": 285.7
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#785FF3
secondary
#E7EFBF
accent
#E303BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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