#785EBE#785EBE

#785EBE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.3% C 0.145 H 293.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#785EBE
RGBrgb(120, 94, 190)
HSLhsl(256, 42%, 56%)
HSVhsv(256, 51%, 75%)
CMYKcmyk(36.8%, 50.5%, 0%, 25.5%)
CIE-LABlab(46.60, 32.64, -47.02)
CIE-LCHlch(46.60, 57.24, 304.77°)
OKLaboklab(55.3% 0.058 -0.133)
OKLCHoklch(55.3% 0.145 293.6)
XYZxyz(21.0403, 15.7157, 50.6301)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EBE #A4BE5E
analogous
#5E74BE #785EBE #A85EBE
triadic
#785EBE #BE785E #5EBE78
tetradic
#785EBE #BE5E74 #A4BE5E #5EBEA8
square
#785EBE #BE5E74 #A4BE5E #5EBEA8
split-complementary
#785EBE #BEA85E #74BE5E
monochromatic
#412E73 #5A409F #785EBE #9D8AD0 #C1B5E1

Accessibility & contrast

On white

5.07
#785EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#785EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785EBE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EBE#FFFFFF#000000##FFFFFF
##785EBE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#677185
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #785ebe;
/* rgb */ color: rgb(120, 94, 190);
/* oklch */ color: oklch(55.3% 0.145 293.6);
Tailwind
colors: {
  custom: {
    50: '#a28cd2',
    500: '#785ebe',
    950: '#000000',
  },
}
SCSS
$custom: #785ebe;
$custom-light: #a28cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#785ebe",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 256.25,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.553,
    "c": 0.14507,
    "h": 293.6
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#785EBE
secondary
#C5D0A8
accent
#D256B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #785EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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