#785CB0#785CB0

#785CB0 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.129 H 297.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#785CB0
RGBrgb(120, 92, 176)
HSLhsl(260, 35%, 53%)
HSVhsv(260, 48%, 69%)
CMYKcmyk(31.8%, 47.7%, 0%, 31%)
CIE-LABlab(45.33, 30.06, -40.87)
CIE-LCHlch(45.33, 50.73, 306.33°)
OKLaboklab(54.1% 0.0593 -0.115)
OKLCHoklch(54.1% 0.129 297.3)
XYZxyz(19.4074, 14.7817, 42.8966)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CB0 #94B05C
analogous
#5C6AB0 #785CB0 #A25CB0
triadic
#785CB0 #B0785C #5CB078
tetradic
#785CB0 #B05C6A #94B05C #5CB0A2
square
#785CB0 #B05C6A #94B05C #5CB0A2
split-complementary
#785CB0 #B0A25C #6AB05C
monochromatic
#403062 #5B448B #785CB0 #9A85C4 #BCAED8

Accessibility & contrast

On white

5.31
#785CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#785CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CB0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CB0#FFFFFF#000000##FFFFFF
##785CB01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#6C6C7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #785cb0;
/* rgb */ color: rgb(120, 92, 176);
/* oklch */ color: oklch(54.1% 0.129 297.3);
Tailwind
colors: {
  custom: {
    50: '#a18ac8',
    500: '#785cb0',
    950: '#000000',
  },
}
SCSS
$custom: #785cb0;
$custom-light: #a18ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#785cb0",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 260,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.12934,
    "h": 297.3
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#785CB0
secondary
#BAC6A2
accent
#CB5DA6
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #785CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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