#785CDD#785CDD

#785CDD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.188 H 289.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#785CDD
RGBrgb(120, 92, 221)
HSLhsl(253, 65%, 61%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.7%, 58.4%, 0%, 13.3%)
CIE-LABlab(48.09, 42.47, -62.40)
CIE-LCHlch(48.09, 75.48, 304.24°)
OKLaboklab(57.03% 0.0613 -0.1781)
OKLCHoklch(57.03% 0.188 289)
XYZxyz(24.6203, 16.8669, 70.3510)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CDD #C1DD5C
analogous
#5C81DD #785CDD #B95CDD
triadic
#785CDD #DD785C #5CDD78
tetradic
#785CDD #DD5C81 #C1DD5C #5CDDB9
square
#785CDD #DD5C81 #C1DD5C #5CDDB9
split-complementary
#785CDD #DDB95C #81DD5C
monochromatic
#3C219E #4F2BD0 #785CDD #A28FE8 #CCC1F2

Accessibility & contrast

On white

4.80
#785CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#785CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CDD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CDD#FFFFFF#000000##FFFFFF
##785CDD1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#587994
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #785cdd;
/* rgb */ color: rgb(120, 92, 221);
/* oklch */ color: oklch(57.0% 0.188 289.0);
Tailwind
colors: {
  custom: {
    50: '#a68be8',
    500: '#785cdd',
    950: '#000000',
  },
}
SCSS
$custom: #785cdd;
$custom-light: #a68be8;
$custom-dark: #000000;
JSON
{
  "hex": "#785cdd",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 253.023,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.18841,
    "h": 289
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#785CDD
secondary
#D8E3B2
accent
#CD18A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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