#785DF1#785DF1

#785DF1 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.212 H 286.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#785DF1
RGBrgb(120, 93, 241)
HSLhsl(251, 84%, 65%)
HSVhsv(251, 61%, 95%)
CMYKcmyk(50.2%, 61.4%, 0%, 5.5%)
CIE-LABlab(49.70, 47.63, -71.06)
CIE-LCHlch(49.70, 85.54, 303.83°)
OKLaboklab(58.65% 0.0593 -0.2036)
OKLCHoklch(58.65% 0.212 286.2)
XYZxyz(27.5326, 18.1713, 85.2587)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DF1 #D6F15D
analogous
#5D8CF1 #785DF1 #C25DF1
triadic
#785DF1 #F1785D #5DF178
tetradic
#785DF1 #F15D8C #D6F15D #5DF1C2
square
#785DF1 #F15D8C #D6F15D #5DF1C2
split-complementary
#785DF1 #F1C25D #8CF15D
monochromatic
#3111C3 #4925EC #785DF1 #A795F6 #D6CEFB

Accessibility & contrast

On white

4.53
#785DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#785DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DF1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DF1#FFFFFF#000000##000000
##785DF11.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0072EE
Tritanopia (blue-blind)
#4B809E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #785df1;
/* rgb */ color: rgb(120, 93, 241);
/* oklch */ color: oklch(58.7% 0.212 286.2);
Tailwind
colors: {
  custom: {
    50: '#a88cf7',
    500: '#785df1',
    950: '#000000',
  },
}
SCSS
$custom: #785df1;
$custom-light: #a88cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#785df1",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 250.946,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.21208,
    "h": 286.2
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#785DF1
secondary
#E5EEBC
accent
#E105B8
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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