#785EBF#785EBF

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

Color values

HEX#785EBF
RGBrgb(120, 94, 191)
HSLhsl(256, 43%, 56%)
HSVhsv(256, 51%, 75%)
CMYKcmyk(37.2%, 50.8%, 0%, 25.1%)
CIE-LABlab(46.66, 32.91, -47.50)
CIE-LCHlch(46.66, 57.79, 304.72°)
OKLaboklab(55.36% 0.0581 -0.1344)
OKLCHoklch(55.36% 0.146 293.4)
XYZxyz(21.1499, 15.7596, 51.2077)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EBF #A5BF5E
analogous
#5E74BF #785EBF #A85EBF
triadic
#785EBF #BF785E #5EBF78
tetradic
#785EBF #BF5E74 #A5BF5E #5EBFA8
square
#785EBF #BF5E74 #A5BF5E #5EBFA8
split-complementary
#785EBF #BFA85E #74BF5E
monochromatic
#412E74 #5A40A0 #785EBF #9D8AD0 #C1B6E2

Accessibility & contrast

On white

5.06
#785EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#785EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785EBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EBF#FFFFFF#000000##FFFFFF
##785EBF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#667186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785ebf;
/* rgb */ color: rgb(120, 94, 191);
/* oklch */ color: oklch(55.4% 0.146 293.4);
Tailwind
colors: {
  custom: {
    50: '#a28cd3',
    500: '#785ebf',
    950: '#000000',
  },
}
SCSS
$custom: #785ebf;
$custom-light: #a28cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#785ebf",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 256.082,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.14641,
    "h": 293.4
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#785EBF
secondary
#C6D0A8
accent
#D355B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #785EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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