#785BCA#785BCA

#785BCA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.165 H 292.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#785BCA
RGBrgb(120, 91, 202)
HSLhsl(256, 51%, 57%)
HSVhsv(256, 55%, 79%)
CMYKcmyk(40.6%, 55%, 0%, 20.8%)
CIE-LABlab(46.63, 37.71, -53.90)
CIE-LCHlch(46.63, 65.78, 304.98°)
OKLaboklab(55.56% 0.0625 -0.1532)
OKLCHoklch(55.56% 0.165 292.2)
XYZxyz(22.1446, 15.7389, 57.7368)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BCA #ADCA5B
analogous
#5B75CA #785BCA #B05BCA
triadic
#785BCA #CA785B #5BCA78
tetradic
#785BCA #CA5B75 #ADCA5B #5BCAB0
square
#785BCA #CA5B75 #ADCA5B #5BCAB0
split-complementary
#785BCA #CAB05B #75CA5B
monochromatic
#402A81 #5839AF #785BCA #9E89D9 #C4B8E8

Accessibility & contrast

On white

5.06
#785BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#785BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BCA#FFFFFF#000000##FFFFFF
##785BCA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#2B6CC8
Tritanopia (blue-blind)
#62728A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #785bca;
/* rgb */ color: rgb(120, 91, 202);
/* oklch */ color: oklch(55.6% 0.165 292.2);
Tailwind
colors: {
  custom: {
    50: '#a48adb',
    500: '#785bca',
    950: '#000000',
  },
}
SCSS
$custom: #785bca;
$custom-light: #a48adb;
$custom-dark: #000000;
JSON
{
  "hex": "#785bca",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 255.676,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.16541,
    "h": 292.2
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#785BCA
secondary
#CBD7AA
accent
#DB4DB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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