#785ABC#785ABC

#785ABC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.149 H 295.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#785ABC
RGBrgb(120, 90, 188)
HSLhsl(258, 42%, 55%)
HSVhsv(258, 52%, 74%)
CMYKcmyk(36.2%, 52.1%, 0%, 26.3%)
CIE-LABlab(45.55, 34.45, -47.54)
CIE-LCHlch(45.55, 58.71, 305.93°)
OKLaboklab(54.48% 0.0631 -0.1345)
OKLCHoklch(54.48% 0.149 295.1)
XYZxyz(20.4767, 14.9359, 49.3713)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785ABC #9EBC5A
analogous
#5A6DBC #785ABC #A95ABC
triadic
#785ABC #BC785A #5ABC78
tetradic
#785ABC #BC5A6D #9EBC5A #5ABCA9
square
#785ABC #BC5A6D #9EBC5A #5ABCA9
split-complementary
#785ABC #BCA95A #6DBC5A
monochromatic
#412D6F #5B3F9A #785ABC #9C86CE #BFB1DF

Accessibility & contrast

On white

5.27
#785ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#785ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785ABC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785ABC#FFFFFF#000000##FFFFFF
##785ABC1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#686E82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #785abc;
/* rgb */ color: rgb(120, 90, 188);
/* oklch */ color: oklch(54.5% 0.149 295.1);
Tailwind
colors: {
  custom: {
    50: '#a289d1',
    500: '#785abc',
    950: '#000000',
  },
}
SCSS
$custom: #785abc;
$custom-light: #a289d1;
$custom-dark: #000000;
JSON
{
  "hex": "#785abc",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 258.367,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.14855,
    "h": 295.1
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#785ABC
secondary
#C1CEA4
accent
#D256AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #785ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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