#785FCD#785FCD

#785FCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.4% C 0.164 H 290.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#785FCD
RGBrgb(120, 95, 205)
HSLhsl(254, 52%, 59%)
HSVhsv(254, 54%, 80%)
CMYKcmyk(41.5%, 53.7%, 0%, 19.6%)
CIE-LABlab(47.73, 36.21, -53.85)
CIE-LCHlch(47.73, 64.89, 303.92°)
OKLaboklab(56.43% 0.0577 -0.153)
OKLCHoklch(56.43% 0.164 290.7)
XYZxyz(22.8544, 16.5846, 59.7428)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FCD #B4CD5F
analogous
#5F7DCD #785FCD #AF5FCD
triadic
#785FCD #CD785F #5FCD78
tetradic
#785FCD #CD5F7D #B4CD5F #5FCDAF
square
#785FCD #CD5F7D #B4CD5F #5FCDAF
split-complementary
#785FCD #CDAF5F #7DCD5F
monochromatic
#3F2A87 #5539B6 #785FCD #9F8EDC #C7BCEA

Accessibility & contrast

On white

4.86
#785FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#785FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FCD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FCD#FFFFFF#000000##FFFFFF
##785FCD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#2F6FCB
Tritanopia (blue-blind)
#60768D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #785fcd;
/* rgb */ color: rgb(120, 95, 205);
/* oklch */ color: oklch(56.4% 0.164 290.7);
Tailwind
colors: {
  custom: {
    50: '#a48ddd',
    500: '#785fcd',
    950: '#000000',
  },
}
SCSS
$custom: #785fcd;
$custom-light: #a48ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#785fcd",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 253.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.16353,
    "h": 290.7
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#785FCD
secondary
#D0DAAE
accent
#DC4CBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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