#785FD6#785FD6

#785FD6 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.175 H 289.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#785FD6
RGBrgb(120, 95, 214)
HSLhsl(253, 59%, 61%)
HSVhsv(253, 56%, 84%)
CMYKcmyk(43.9%, 55.6%, 0%, 16.1%)
CIE-LABlab(48.30, 38.75, -58.08)
CIE-LCHlch(48.30, 69.82, 303.71°)
OKLaboklab(57.04% 0.058 -0.1655)
OKLCHoklch(57.04% 0.175 289.3)
XYZxyz(23.9721, 17.0317, 65.6297)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FD6 #BDD65F
analogous
#5F81D6 #785FD6 #B35FD6
triadic
#785FD6 #D6785F #5FD678
tetradic
#785FD6 #D65F81 #BDD65F #5FD6B3
square
#785FD6 #D65F81 #BDD65F #5FD6B3
split-complementary
#785FD6 #D6B35F #81D65F
monochromatic
#3D2695 #5133C5 #785FD6 #A190E2 #CAC0EF

Accessibility & contrast

On white

4.77
#785FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#785FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FD6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FD6#FFFFFF#000000##FFFFFF
##785FD61.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C75DA
Deuteranopia (green-blind)
#2070D3
Tritanopia (blue-blind)
#5C7991
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #785fd6;
/* rgb */ color: rgb(120, 95, 214);
/* oklch */ color: oklch(57.0% 0.175 289.3);
Tailwind
colors: {
  custom: {
    50: '#a58de3',
    500: '#785fd6',
    950: '#000000',
  },
}
SCSS
$custom: #785fd6;
$custom-light: #a58de3;
$custom-dark: #000000;
JSON
{
  "hex": "#785fd6",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 252.605,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.17531,
    "h": 289.3
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#785FD6
secondary
#D6DFB2
accent
#C71FA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #785FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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