#785FBC#785FBC

#785FBC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.141 H 293.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#785FBC
RGBrgb(120, 95, 188)
HSLhsl(256, 41%, 55%)
HSVhsv(256, 49%, 74%)
CMYKcmyk(36.2%, 49.5%, 0%, 26.3%)
CIE-LABlab(46.72, 31.50, -45.66)
CIE-LCHlch(46.72, 55.47, 304.60°)
OKLaboklab(55.35% 0.0565 -0.129)
OKLCHoklch(55.35% 0.141 293.7)
XYZxyz(20.9127, 15.8079, 49.5166)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FBC #A3BC5F
analogous
#5F74BC #785FBC #A65FBC
triadic
#785FBC #BC785F #5FBC78
tetradic
#785FBC #BC5F74 #A3BC5F #5FBCA6
square
#785FBC #BC5F74 #A3BC5F #5FBCA6
split-complementary
#785FBC #BCA65F #74BC5F
monochromatic
#412F71 #5A419C #785FBC #9C8ACE #C1B5E0

Accessibility & contrast

On white

5.05
#785FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#785FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FBC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FBC#FFFFFF#000000##FFFFFF
##785FBC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#687185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785fbc;
/* rgb */ color: rgb(120, 95, 188);
/* oklch */ color: oklch(55.4% 0.141 293.7);
Tailwind
colors: {
  custom: {
    50: '#a28dd1',
    500: '#785fbc',
    950: '#000000',
  },
}
SCSS
$custom: #785fbc;
$custom-light: #a28dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#785fbc",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 256.129,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55354,
    "c": 0.14084,
    "h": 293.7
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#785FBC
secondary
#C4CFA8
accent
#D157B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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