#785FC0#785FC0

#785FC0 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.146 H 292.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#785FC0
RGBrgb(120, 95, 192)
HSLhsl(255, 43%, 56%)
HSVhsv(255, 51%, 75%)
CMYKcmyk(37.5%, 50.5%, 0%, 24.7%)
CIE-LABlab(46.95, 32.60, -47.61)
CIE-LCHlch(46.95, 57.70, 304.40°)
OKLaboklab(55.6% 0.0569 -0.1347)
OKLCHoklch(55.6% 0.146 292.9)
XYZxyz(21.3499, 15.9828, 51.8191)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FC0 #A7C05F
analogous
#5F77C0 #785FC0 #A95FC0
triadic
#785FC0 #C0785F #5FC078
tetradic
#785FC0 #C05F77 #A7C05F #5FC0A9
square
#785FC0 #C05F77 #A7C05F #5FC0A9
split-complementary
#785FC0 #C0A95F #77C05F
monochromatic
#412F76 #5940A2 #785FC0 #9D8BD1 #C2B7E3

Accessibility & contrast

On white

5.00
#785FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#785FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FC0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FC0#FFFFFF#000000##FFFFFF
##785FC01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C3
Deuteranopia (green-blind)
#3D6EBE
Tritanopia (blue-blind)
#667286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785fc0;
/* rgb */ color: rgb(120, 95, 192);
/* oklch */ color: oklch(55.6% 0.146 292.9);
Tailwind
colors: {
  custom: {
    50: '#a38dd3',
    500: '#785fc0',
    950: '#000000',
  },
}
SCSS
$custom: #785fc0;
$custom-light: #a38dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#785fc0",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 255.464,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.14623,
    "h": 292.9
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#785FC0
secondary
#C7D1A9
accent
#D355B3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #785FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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