#785BCC#785BCC

#785BCC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.168 H 291.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#785BCC
RGBrgb(120, 91, 204)
HSLhsl(255, 53%, 58%)
HSVhsv(255, 55%, 80%)
CMYKcmyk(41.2%, 55.4%, 0%, 20%)
CIE-LABlab(46.76, 38.27, -54.84)
CIE-LCHlch(46.76, 66.87, 304.90°)
OKLaboklab(55.69% 0.0625 -0.1559)
OKLCHoklch(55.69% 0.168 291.9)
XYZxyz(22.3829, 15.8342, 58.9920)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BCC #AFCC5B
analogous
#5B77CC #785BCC #B05BCC
triadic
#785BCC #CC785B #5BCC78
tetradic
#785BCC #CC5B77 #AFCC5B #5BCCB0
square
#785BCC #CC5B77 #AFCC5B #5BCCB0
split-complementary
#785BCC #CCB05B #77CC5B
monochromatic
#402984 #5737B2 #785BCC #9E8ADB #C5B8E9

Accessibility & contrast

On white

5.04
#785BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#785BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BCC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BCC#FFFFFF#000000##FFFFFF
##785BCC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#286DC9
Tritanopia (blue-blind)
#61738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785bcc;
/* rgb */ color: rgb(120, 91, 204);
/* oklch */ color: oklch(55.7% 0.168 291.9);
Tailwind
colors: {
  custom: {
    50: '#a48adc',
    500: '#785bcc',
    950: '#000000',
  },
}
SCSS
$custom: #785bcc;
$custom-light: #a48adc;
$custom-dark: #000000;
JSON
{
  "hex": "#785bcc",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 255.398,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.16801,
    "h": 291.9
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#785BCC
secondary
#CCD8AB
accent
#DC4CB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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