#785CCE#785CCE

#785CCE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.169 H 291.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#785CCE
RGBrgb(120, 92, 206)
HSLhsl(255, 54%, 58%)
HSVhsv(255, 55%, 81%)
CMYKcmyk(41.7%, 55.3%, 0%, 19.2%)
CIE-LABlab(47.11, 38.24, -55.43)
CIE-LCHlch(47.11, 67.34, 304.60°)
OKLaboklab(55.99% 0.0614 -0.1577)
OKLCHoklch(55.99% 0.169 291.3)
XYZxyz(22.7104, 16.1029, 60.2922)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CCE #B2CE5C
analogous
#5C79CE #785CCE #B15CCE
triadic
#785CCE #CE785C #5CCE78
tetradic
#785CCE #CE5C79 #B2CE5C #5CCEB1
square
#785CCE #CE5C79 #B2CE5C #5CCEB1
split-complementary
#785CCE #CEB15C #79CE5C
monochromatic
#402987 #5637B6 #785CCE #9F8BDC #C6BAEA

Accessibility & contrast

On white

4.98
#785CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#785CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CCE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CCE#FFFFFF#000000##FFFFFF
##785CCE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#60748C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #785cce;
/* rgb */ color: rgb(120, 92, 206);
/* oklch */ color: oklch(56.0% 0.169 291.3);
Tailwind
colors: {
  custom: {
    50: '#a48bde',
    500: '#785cce',
    950: '#000000',
  },
}
SCSS
$custom: #785cce;
$custom-light: #a48bde;
$custom-dark: #000000;
JSON
{
  "hex": "#785cce",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 254.737,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.16917,
    "h": 291.3
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#785CCE
secondary
#CEDAAC
accent
#DD4BB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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