#785BEA#785BEA

#785BEA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.206 H 287.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#785BEA
RGBrgb(120, 91, 234)
HSLhsl(252, 77%, 64%)
HSVhsv(252, 61%, 92%)
CMYKcmyk(48.7%, 61.1%, 0%, 8.2%)
CIE-LABlab(48.78, 46.74, -68.63)
CIE-LCHlch(48.78, 83.04, 304.26°)
OKLaboklab(57.82% 0.0618 -0.1965)
OKLCHoklch(57.82% 0.206 287.5)
XYZxyz(26.3338, 17.4146, 79.7997)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BEA #CDEA5B
analogous
#5B85EA #785BEA #BF5BEA
triadic
#785BEA #EA785B #5BEA78
tetradic
#785BEA #EA5B85 #CDEA5B #5BEABF
square
#785BEA #EA5B85 #CDEA5B #5BEABF
split-complementary
#785BEA #EABF5B #85EA5B
monochromatic
#3717B4 #4B25E3 #785BEA #A591F1 #D1C8F8

Accessibility & contrast

On white

4.68
#785BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#785BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BEA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BEA#FFFFFF#000000##FFFFFF
##785BEA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#507D9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #785bea;
/* rgb */ color: rgb(120, 91, 234);
/* oklch */ color: oklch(57.8% 0.206 287.5);
Tailwind
colors: {
  custom: {
    50: '#a78bf2',
    500: '#785bea',
    950: '#000000',
  },
}
SCSS
$custom: #785bea;
$custom-light: #a78bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#785bea",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 252.168,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.20598,
    "h": 287.5
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#785BEA
secondary
#DFEAB7
accent
#DA0CB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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