#785EEB#785EEB

#785EEB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.4% C 0.203 H 286.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#785EEB
RGBrgb(120, 94, 235)
HSLhsl(251, 78%, 65%)
HSVhsv(251, 60%, 92%)
CMYKcmyk(48.9%, 60%, 0%, 7.8%)
CIE-LABlab(49.49, 45.34, -68.04)
CIE-LCHlch(49.49, 81.76, 303.68°)
OKLaboklab(58.36% 0.0587 -0.1947)
OKLCHoklch(58.36% 0.203 286.8)
XYZxyz(26.7394, 17.9954, 80.6457)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EEB #D1EB5E
analogous
#5E8BEB #785EEB #BF5EEB
triadic
#785EEB #EB785E #5EEB78
tetradic
#785EEB #EB5E8B #D1EB5E #5EEBBF
square
#785EEB #EB5E8B #D1EB5E #5EEBBF
split-complementary
#785EEB #EBBF5E #8BEB5E
monochromatic
#3517B8 #4A28E4 #785EEB #A694F2 #D3CBF9

Accessibility & contrast

On white

4.57
#785EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#785EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785EEB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EEB#FFFFFF#000000##000000
##785EEB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#4F7F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #785eeb;
/* rgb */ color: rgb(120, 94, 235);
/* oklch */ color: oklch(58.4% 0.203 286.8);
Tailwind
colors: {
  custom: {
    50: '#a78df2',
    500: '#785eeb',
    950: '#000000',
  },
}
SCSS
$custom: #785eeb;
$custom-light: #a78df2;
$custom-dark: #000000;
JSON
{
  "hex": "#785eeb",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 251.064,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.20339,
    "h": 286.8
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#785EEB
secondary
#E2EBBA
accent
#DA0BB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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